learndash_get_quiz_post_ids( int $quiz_pro_id )
Gets all the quiz post IDs from the quiz pro ID.
Description #
This is similar to the function learndash_get_quiz_id_by_pro_quiz_id() but returns an array instead of a single post ID.
Parameters #
- $quiz_pro_id
-
(int) (Optional) The ID of
WPProQuizQuiz. Default 0.
Return #
(array) An array of quiz post IDs.
Source #
Changelog #
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |