Support » Fixing WordPress » Logout button without confirmation

  • 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?

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Logout button without confirmation’ is closed to new replies.