Hello,
I also have a question regarding this topic. Is it possible to redirect users to the last visited course after login? I tired to use the following code but it throws an “uncaught error: Call to undefined function”:
function login_redirect_resume($redirect_to, $request, $user){
return learndash_resume_link();
}
add_filter( 'login_redirect', 'login_redirect_resume', 999, 3);