Quote:
Originally Posted by PlayersBay
The plugin is installed on my site, but when we try to get the current logged in user in wordpress the user_level variable is empty?
This is the code, just for reference:
global $current_user;
get_currentuserinfo();
Who can help out?
|
Use this in your WP template:
PHP Code:
<?php global $user_ID, $user_identity, $user_level ?>
<?php echo $user_identity ?>
it should work! tested by me.