learndash_quiz_redirect()
Redirects the user after quiz completion.
Description #
Fires on wp
hook.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |
Related #
Namespace #
@package #
Uses #
Uses | Description |
---|---|
includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_next_incomplete_step () |
Utility function to get the next incomplete course step for user. |
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/class-ld-permalinks.php: learndash_get_step_permalink () |
Utility function to get the nested permalink of the course step within in the course. |
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_next_lesson_quiz () |
Gets the next quiz for current lesson for a user. |
includes/course/ld-course-progress.php: learndash_can_attempt_again () |
Checks whether a user can attempt the quiz again. |
includes/course/ld-course-progress.php: learndash_completion_redirect |
Filters URL to redirect to after marking a course complete. |