WordPress.org

Ready to get started?Download WordPress

Forums

Logout button without confirmation (2 posts)

  1. Joshua
    Member
    Posted 2 years ago #

    Hey,

    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
    Member
    Posted 1 year 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