learndash_get_open_quizzes( boolean $bypass_transient = false )
Gets all the open quizzes.
Description #
This function will query and return all open Quizzes. An OPEN Quiz is:
- Not associated with a Course.
- The Quiz setting "Only registered users are allowed to start the quiz" is NOT set.
Parameters #
- $bypass_transient
-
(boolean) (Optional) Whether to bypass the transient cache.
Default value: false
Return #
(array) An array of Quiz IDs.
Source #
Changelog #
Version | Description |
---|---|
2.6.0 | Introduced. |