WordPress.org

Support

Support » Plugins and Hacks » Hacks » wp_signon() not working

wp_signon() not working

Viewing 1 replies (of 1 total)
  • No one ever answers my questions here. If anyone knows why, I’d love to find out. In any case, I generally end up answering them myself! So, for future reference and to save time for the next person, here is the problem:

    wp_signon() has to be used before headers are sent (first thing in the php page).

    It makes sense if you think about it, since login in changes how the page renders. I guess I was assuming the function would refresh the page or take effect when the next page was loaded. Assumptions….

    I wish this insight would be added to the function description: http://codex.wordpress.org/Function_Reference/wp_signon

Viewing 1 replies (of 1 total)
  • The topic ‘wp_signon() not working’ is closed to new replies.
Skip to toolbar