• Resolved Icbrg

    (@mikumoe)


    Hello, I have some question. How can I replace redirect link after login from student dashboard to my custom url when I use tutor lms login form. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Can you please add more details and some links if possible? The idea is not clear to me.

    • This reply was modified 4 years, 4 months ago by Sekander Badsha. Reason: typo

    You can add your own URL using the filter hook provided by plugin. It will override the default redirect URL which is I think a ‘Referral URL’ by default.

    function my_function($redirect_to) {
        $redirect_to = home_url();
        return $redirect_to;
     }
    
     add_filter('tutor_login_redirect_url', 'my_function', 10, 1);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Page Redirect after login’ is closed to new replies.