learndash_update_pro_question

learndash_update_pro_question( int $question_pro_id,  array $post_data = array() )

Adds a WPProQuiz question to mirror a Question post (sfwd-question).


Description #


Parameters #

$question_pro_id

(int) (Optional) Post ID of Question (sfwd-question). Default 0.

$post_data

(array) (Optional) Post Data containing post_title and post_content.

Default value: array()


Return #

(int) The new pro question ID generated from question post.


Source #

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


Changelog #

Changelog
Version Description
2.6.0 Introduced.