Browse: Home / Functions /

learndash_get_quiz_post_ids

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 WPProQuiz Quiz. Default 0.


Return #

(array) An array of quiz post IDs.


Source #

File: includes/quiz/ld-quiz-functions.php


Changelog #

Changelog
Version Description
2.6.0 Introduced.