How to Skip the WordPress Logout page confirmation?

By July 29, 2020 No Comments

The following solution worked for me in order to skip the WordPress logout page confirmation.

The WordPress logout page shows when we redirect the user to the logout URL without the nonce.

I was using the plugin theme my login, and I had the option of logout in the Appearance -> Menus section (Screen below).

Using the above logout link, logout process skips the confirmation page and redirects the user directly to the desired page.