• Resolved parhamm

    (@parhamm)


    Is there a way to redirect the user to a custom URL after the user logs out of the Tutor LMS dashboard?

Viewing 1 replies (of 1 total)
  • Hello @parhamm

    Try to use this hook in your theme’s functions.php file:

    add_action('wp_logout','tutor_redirect_after_logout');
    function tutor_redirect_after_logout(){
    	wp_redirect( 'https://www.google.com' );
    	exit();
    }

    Kind Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect after logout from TutorLMS Dashboard’ is closed to new replies.