learndash_has_global_quizzes learndash_has_global_quizzes( int|null $id = null ) Checks if the resource has any quizzes. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $id (int|null) (Optional) The ID of the resource like course, lesson, topic, etc. Default value: null Return # (boolean) Returns true if the resource has quizzes otherwise false. Source # File: includes/course/ld-course-progress.php Changelog # Changelog Version Description 3.4.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/course/ld-course-navigation.php: learndash_get_global_quiz_list () Gets the quiz list for a resource. Used By # Used By Used By Description includes/course/ld-course-functions-legacy.php: learndash_course_get_completed_steps_legacy () LEGACY: Gets the total completed steps for a given course progress array. includes/course/ld-course-functions-legacy.php: learndash_get_course_steps_count_legacy () LEGACY: Gets the total count of lessons and topics for a given course ID. includes/classes/class-ldlms-model-user-course-progress.php: LDLMS_Model_User_Course_Progress::build_course_progress_completed_count () Build the Course Progress Completes Steps Count. includes/course/ld-course-steps-functions.php: learndash_course_get_completed_steps () Gets the total completed steps for a given course progress array. includes/deprecated/3.4.0/functions.php: has_global_quizzes () Checks if the resource has any quizzes.
Uses # Uses Uses Description includes/course/ld-course-navigation.php: learndash_get_global_quiz_list () Gets the quiz list for a resource.
Used By # Used By Used By Description includes/course/ld-course-functions-legacy.php: learndash_course_get_completed_steps_legacy () LEGACY: Gets the total completed steps for a given course progress array. includes/course/ld-course-functions-legacy.php: learndash_get_course_steps_count_legacy () LEGACY: Gets the total count of lessons and topics for a given course ID. includes/classes/class-ldlms-model-user-course-progress.php: LDLMS_Model_User_Course_Progress::build_course_progress_completed_count () Build the Course Progress Completes Steps Count. includes/course/ld-course-steps-functions.php: learndash_course_get_completed_steps () Gets the total completed steps for a given course progress array. includes/deprecated/3.4.0/functions.php: has_global_quizzes () Checks if the resource has any quizzes.