LDLMS_Course_Steps::get_parent_step_id

LDLMS_Course_Steps::get_parent_step_id( int $step_post_id,  string $ancestor_step_type = '' )

Get Single Course Step parent.


Description #


Parameters #

$step_post_id

(int) (Required) Current step post ID.

$ancestor_step_type

(string) (Optional) Parent step post_type to return.

Default value: ''


Source #

File: includes/classes/class-ldlms-model-course-steps.php


Changelog #

Changelog
Version Description
2.5.0 Introduced.