learndash_get_quiz_id( int $id = null )
Gets the quiz ID from a post ID.
Parameters #
- $id
-
(int)
(Optional)
Post ID. Optional. Defaults to the global post object.
Default value: null
Return #
(int|false) Returns Quiz ID if found otherwise false.
Changelog #
Changelog
Version |
Description |
2.6.0 |
Introduced. |