LearnDash Redirects
LearnDash has a number of redirects that happen when someone completes an objective. We have customized these for AppLMS, and you may wish to change them. You can do so with the following filters.
Filter Usage Example
add_filter( 'applms_lesson_complete_redirect_quiz', function( $link, $course_id, $lesson_id ) { // modify link as needed return $link; }, 10, 3 );
Available Filters
apply_filters( 'applms_lesson_complete_redirect_quiz', $course_link, $course_id, $lesson_id )
apply_filters( 'applms_course_complete_redirect', $course_link, $course_id, $lesson_id )
apply_filters( 'applms_topics_complete_redirect', $quiz_link, $course_id, $lesson_id )
apply_filters( 'applms_lesson_complete_redirect', $next_link, $course_id, $lesson_id )
apply_filters( 'applms_lesson_complete_redirect_topic', $next_link, $course_id, $lesson_id )
apply_filters( 'applms_next_topic_redirect', $next_link, $course_id, $lesson_id )