Browse: Home / Functions /


learndash_proquiz_sync_question_category( int $question_post_id,  WpProQuiz_Model_Question|int $question_pro_id )

Syncs the WPProQuiz question category with the LearnDash question taxonomy.

Description #

Parameters #


(int) (Optional) The WP_Post Question ID. Default 0.


(WpProQuiz_Model_Question|int) (Optional) The WpProQuiz_Model_Question object or ID. Default 0.

Return #

(array) An array of question category terms or newly created category term.

Source #

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

Changelog #

Version Description
2.6.0 Introduced.