learndash_course_get_all_parent_step_ids

learndash_course_get_all_parent_step_ids( int $course_id,  int $step_id )

Gets the parent step IDs for a step in a course.


Description #


Parameters #

$course_id

(int) (Optional) The ID of the course. Default 0.

$step_id

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


Return #

(array) An array of step IDs.


Source #

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