Logout button without confirmation (2 posts)

  1. Joshua
    Posted 4 years ago #


    I am trying to create a logout link using the following code:
    <a href="<?php bloginfo('url'); ?>/login/?action=logout">Logout</a>

    However when clicked it goes to a confirmation page and "WordPress Failure Notice" appears in the <title>

    Is there a way to silence this or auto confirm?

  2. wpinklady
    Posted 3 years ago #

    Anyone has answer here? I really want to get rid of this message as well. Please, if anyone knows how to do, post here.....Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic