learndash_get_next_lesson_redirect learndash_get_next_lesson_redirect( WP_Post|null $post = null ) Redirects the user to next lesson. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $post (WP_Post|null) (Optional) The WP_Post object. Defaults to global post object. Default value: null Return # (string) Returns empty string if the next lesson redirect link empty. Source # File: includes/course/ld-course-progress.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () Static function to get a Section Setting value. includes/course/ld-course-steps-functions.php: learndash_course_get_single_parent_step () Gets the single parent step ID for a given step ID in a course. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-navigation.php: learndash_next_post_link () Generates the next post link for lesson or topic. includes/course/ld-course-progress.php: learndash_next_global_quiz () Gets the next quiz for a course. includes/course/ld-course-progress.php: learndash_completion_redirect Filters URL to redirect to after marking a course complete. Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_upload_assignment_init () Handles assignment uploads. includes/course/ld-course-progress.php: learndash_mark_complete_process () Processes a request to mark a course complete.
Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () Static function to get a Section Setting value. includes/course/ld-course-steps-functions.php: learndash_course_get_single_parent_step () Gets the single parent step ID for a given step ID in a course. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-navigation.php: learndash_next_post_link () Generates the next post link for lesson or topic. includes/course/ld-course-progress.php: learndash_next_global_quiz () Gets the next quiz for a course. includes/course/ld-course-progress.php: learndash_completion_redirect Filters URL to redirect to after marking a course complete.
Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_upload_assignment_init () Handles assignment uploads. includes/course/ld-course-progress.php: learndash_mark_complete_process () Processes a request to mark a course complete.