learndash_get_global_quiz_list learndash_get_global_quiz_list( int|null $id = null ) Gets the quiz list for a resource. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $id (int|null) (Optional) An ID of the resource. Default value: null Return # (array) An array of quizzes. Source # File: includes/course/ld-course-navigation.php Changelog # Changelog Version Description 5.0.0 Removed the option to use learndash_get_global_quiz_list_legacy. 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Navigation Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. Used By # Used By Used By Description includes/course/ld-course-progress.php: learndash_is_quiz_accessable () Checks if the quiz is accessible to the user. includes/course/ld-course-progress.php: learndash_is_all_global_quizzes_complete () Checks if all quizzes for a course are complete for the user. includes/course/ld-course-progress.php: learndash_has_global_quizzes () Checks if the resource has any quizzes. includes/deprecated/5.0.0/functions.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/quiz/ld-quiz-pro.php: LD_QuizPro::wp_pro_quiz_completed () This function runs when a quiz is completed, and does the action ‘wp_pro_quiz_completed_quiz’ includes/deprecated/3.4.0/functions.php: learndash_get_global_quiz_list_OLD () Gets the quiz list for a resource(old). includes/deprecated/4.11.0/functions.php: learndash_next_global_quiz () Gets the next quiz for a course. includes/shortcodes/ld_quiz_list.php: ld_quiz_list () Builds the [ld_quiz_list] shortcode output.
Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Used By # Used By Used By Description includes/course/ld-course-progress.php: learndash_is_quiz_accessable () Checks if the quiz is accessible to the user. includes/course/ld-course-progress.php: learndash_is_all_global_quizzes_complete () Checks if all quizzes for a course are complete for the user. includes/course/ld-course-progress.php: learndash_has_global_quizzes () Checks if the resource has any quizzes. includes/deprecated/5.0.0/functions.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/quiz/ld-quiz-pro.php: LD_QuizPro::wp_pro_quiz_completed () This function runs when a quiz is completed, and does the action ‘wp_pro_quiz_completed_quiz’ includes/deprecated/3.4.0/functions.php: learndash_get_global_quiz_list_OLD () Gets the quiz list for a resource(old). includes/deprecated/4.11.0/functions.php: learndash_next_global_quiz () Gets the next quiz for a course. includes/shortcodes/ld_quiz_list.php: ld_quiz_list () Builds the [ld_quiz_list] shortcode output.