I use wp_signon()
and it returns a user, not an error. However when I do is_user_logged_in()
it returns false.
Help would be very much appreciated 🙂
I use wp_signon()
and it returns a user, not an error. However when I do is_user_logged_in()
it returns false.
Help would be very much appreciated 🙂
get_currentuserinfo() didn’t work for me. I’ve written about this problem and solution at my blog:
http://blog.rhysgoodwin.com/programming/wordpress-wp_signon-current_user-is-not-populated/
Cheers,
Rhys