[wp-hackers] getting current user info

Mindshare Studios info at mindsharestudios.com
Thu Nov 8 17:37:22 GMT 2007


Hi

I'm trying to get info on the currently logged in user for a plugin I'm
working on. This code isn't working:

$current_user = setup_userdata($current_user->ID);
echo $current_user->$user_email;

I could be barking up the wrong tree entirely. Any suggestions?

Thanks,

Damian Taggart
Mindshare Studios, Inc.



More information about the wp-hackers mailing list