Browse: Home / Functions /


learndash_get_quizzes_for_question( int $question_post_id,  boolean $return_flat_array = false )

Gets an array of Quiz IDs where the question is used.

Description #

Parameters #


(int) (Optional) Question Post ID. Default 0.


(boolean) (Optional) Default is false and will return primary and secondary sub-array sets.

Default value: false

Return #

(array) An array of quiz post IDs.

Source #

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

Changelog #

Version Description
2.6.0 Introduced.