learndash_new_step_insert( $post_id, object $post, bool $update )
Handler function when a new course step is inserted.
Description Description
This function exists to handle inserted post steps external to LearnDash. But this function will also be triggered when adding a new step post within LearnDash.
Parameters Parameters
- $post_ID
-
(Required) Post ID.
- $post
-
(Required) WP_Post object.
- $update
-
(Required) Whether this is an existing post being updated.
Source Source
File: includes/course/ld-course-steps-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.0.3 | Introduced. |