Support » Plugins » get_currentuserinfo in plugin not working

  • Hi there,

    I’m trying my hand at a plugin and am trying to get the current user’s ID. I’ve read that get_currentuserinfo is defined inside pluggable.php, which is loaded AFTER the pluggins.

    So my question is simple, how do i get the userinfo?

    Thanks for your help.


  • The topic ‘get_currentuserinfo in plugin not working’ is closed to new replies.