This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////// Step 1 /////////// | |
- deactivate default wordpress confirmation page with the following php snippet | |
function custom_logout_without_confirmation() { | |
if (isset($_GET['appout'])) { | |
wp_logout(); | |
wp_redirect(home_url()); | |
exit(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////// Step 1 /////////// | |
- for your desired post type add the two following custom fields | |
1. switcher (field key: switcher-pw) | |
2. text (field key: text-passwort) | |