This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Don't copy this line if adding this gist to a functions.php file. | |
function get_mepr_id() { | |
if ( !class_exists('MeprUtils') ) { | |
return 0; | |
} | |
$mepr_user = MeprUtils::get_currentuserinfo(); | |
if ( $mepr_user === false ) { |
OlderNewer