learndash_course_get_children_of_step( int $course_id,  int $step_id,  string $child_type = '' )

Gets the list of children steps for a given step ID.

Description #

Parameters #


(int) (Optional) Course ID. Default 0.


(int) (Optional) The ID of step to get child steps. Default 0.


(string) (Optional) The type of the child steps to get.

Default value: ''

Return #

(array) An array of child step IDs.

Source #

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