Best WordPress Hosting
 

Custom LOG OUT link without WP-nonce confirmation

via wpjohnny.com => original post link

Quick guide for anyone trying to create their own custom log out links (from a menu or within their content).

So what’s the issue?

You create a logout link to https://domain.com/wp-login.php?action=logoutBut when you visit it…it asks for a confirmation. Annoying, right?