Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //REDIRECT LOGOUT
- add_action('wp_logout','mm_redirect_after_logout');
- function mm_redirect_after_logout(){
- wp_redirect( 'https://example.com/' );
- exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement