learndash_transition_quiz_question_post_status

learndash_transition_quiz_question_post_status( string $new_status,  string $old_status,  WP_Post $post )

Marks a quiz question dirty when the question post is trashed or untrashed.


Description #

Fires on transition_post_status hook.


Parameters #

$new_status

(string) (Required) New post_status value.

$old_status

(string) (Required) Old post_status value.

$post

(WP_Post) (Required) The WP_Post object instance.


Source #

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


Changelog #

Changelog
Version Description
2.6.0 Introduced.