Browse: Home / Functions /


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 #


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


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

Version Description
2.6.0 Introduced.