The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
1k views

wp_nav_menu log in/out link?

I have a wp_nav_menu showing pages, but I'd also like to include a log in/out link, based on the current state of the user, which will redirect them to the home page. I've looked far and wide, but ...
2
votes
1answer
752 views

WordPress failure when logging out

I have came across the WordPress logout error several times but I really never figured out the cause of it. In earlier days, it was generally that I was missing a nonce but now even with logout link ...
2
votes
1answer
2k views

wp_logout Not Logging Me Out

Here is what I'm doing: wp_logout(); var_dump(is_user_logged_in()); var_dump returns: bool(true) Why is wp_logout() not logging me out?