how do i logout wordpress without confirmation
- First, navigate to the "wp-login.php" file in your WordPress installation directory using an FTP client or file manager.
- Locate the line of code that reads "session_start();" and add the following line directly beneath it: "session_destroy();"
- Save the changes to the "wp-login.php" file and close it.
- You can now log out of WordPress without confirmation by simply refreshing or navigating away from the page.