0
votes
2answers
435 views

wp_logout logging everyone out instead of just the user that clicked the logout link!

I want to display a different menu depending whether a user is logged into the CMS or not. I'm using this for my menu: <?php if ( is_user_logged_in() ) { $args = array( 'depth' => ...