has_global_quizzes( int|null $id = null )
Checks if the resource has any quizzes.
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.
Changelog #
Changelog
Version |
Description |
2.1.0 |
Introduced. |