Browse: Home / Functions /


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 #


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


(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-steps-functions.php

Changelog #

Version Description
2.5.0 Introduced.