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.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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