[wp-hackers] getting current user info

Travis Snoozy ai2097 at users.sourceforge.net
Thu Nov 8 17:52:16 GMT 2007


On Thu, 8 Nov 2007 10:37:22 -0700, "Mindshare Studios"
<info at mindsharestudios.com> wrote:


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

You're thinking too hard. ;)

global $current_user;
$current_user->user_email;

Make sure you're doing it after authentication has taken place, though.

-- 
Travis 

In Series maintainer
Random coder & quality guy
<http://remstate.com/>


More information about the wp-hackers mailing list