• Resolved Abul Kalam Azad

    (@techiewasp)


    I am using tutor LMS and I have been trying to redirect the students to enrolled courses right after login, but it doesn’t work.

    Can you help me out with it?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Dear Azad,

    You can try this code:

    function redirect_on_login() { $some_url = ‘https://google.com‘; wp_redirect( $some_url ); exit; } add_action( ‘wp_login’, ‘redirect_on_login’, 1 );

    After adding this code to your website must update your website permalink and clear browser cache.

Viewing 1 replies (of 1 total)
  • The topic ‘Tutor LMS Redirection after Login’ is closed to new replies.