• Hey guys,

    My problem is very simple. I added a link to my top nav menu, which logs out the user. But I want to use wp_logout_url() instead of url/wp-login.php?action=logout because I want to log out without confirmation (it asks me are you sure you want to log out from your page – in a white screen). The url field in wp admin adds http in front of my string, so I can’t use it.

    Any solutions? Thanks

  • The topic ‘Logout link in top nav menu’ is closed to new replies.