learndash_has_global_quizzes( int|null $id = null )
Checks if the resource has any quizzes.
Description Description
Parameters Parameters
- $id
-
(Optional) The ID of the resource like course, lesson, topic, etc.
Default value: null
Return Return
(boolean) Returns true if the resource has quizzes otherwise false.
Source Source
File: includes/course/ld-course-progress.php
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |