• arav369

    (@arav369)


    Hi admin,

    I have a Logout link (within .. tags). When the user clicks on that it should logout and redirect to the current page. I have used ` href =”<?php echo wp_logout_url(get_permalink()); ?>” .But that does not seem to work properly. When I click on the link, nothing happens. When I Right-click on the link and open in a new tab, the user is logged out. Please tel me how I should go about correcting this.

    Thanks in advance.

  • The topic ‘Problem with Logging out a current user.’ is closed to new replies.