learndash_proquiz_sync_question_category

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

Syncs the WPProQuiz question category with the LearnDadh question taxonomy.


Description #


Parameters #

$question_post_id

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

$question_pro_id

(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 #

Changelog
Version Description
2.6.0 Introduced.