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?
- The topic ‘Logout button without confirmation’ is closed to new replies.