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

Updates the course step post status when a post is trashed or untrashed.


Description Description

Fires on transition_post_status hook.


Parameters Parameters

$new_status

(Required) New post status.

$old_status

(Required) Old post status.

$post

(Required) The WP_Post object.


Top ↑

Source Source

File: includes/course/ld-course-steps-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.