Redirect after log out

Home Forums Legacy Support Support queries How-to & Troubleshooting Redirect after log out

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230398
    DaveWeldon
    Participant
    I would like to send users to a specific page outside of WPLMS when logging out. Is that possible?
    #230428
    logan
    Member
    Hey, Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php  Or in Please add this code in your wplms-customizer.php file in wplms customizer plugin by using your FTP/SFTP/cpanel: add_action('wp_logout','logan_redirect_after_logout');
    function logan_redirect_after_logout(){
            wp_redirect( 'https://www.google.com' );
            exit();
    } change your url here.
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Redirect after log out’ is closed to new replies.