learndash_quiz_redirect learndash_quiz_redirect() Redirects the user after quiz completion when a user clicks on the “continue” button. ContentsDescription Return Source Changelog Related Namespace @package Uses Description # It redirects to the next step if the quiz is completed otherwise redirects back to the quiz page. Return # (void) 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/course/ld-course-progress.php: learndash_course_get_step_completion_url () Returns the page url a user is redirected to after completing a step. src/Core/Utilities/Cast.php: Cast::to_int () Casts a value to a int if possible or returns an empty string. src/Core/Utilities/Cast.php: Cast::to_string () Casts a value to a string if possible or returns an empty string. includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. 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/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-progress.php: learndash_is_quiz_complete () Checks whether a quiz is complete for a user.
Uses # Uses Uses Description includes/course/ld-course-progress.php: learndash_course_get_step_completion_url () Returns the page url a user is redirected to after completing a step. src/Core/Utilities/Cast.php: Cast::to_int () Casts a value to a int if possible or returns an empty string. src/Core/Utilities/Cast.php: Cast::to_string () Casts a value to a string if possible or returns an empty string. includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. 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/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-progress.php: learndash_is_quiz_complete () Checks whether a quiz is complete for a user.