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 Description
Parameters Parameters
- $course_id
-
(Optional) The ID of the course. Default 0.
- $step_id
-
(Optional) The ID of the step to get parent steps. Default 0.
Return Return
(array) An array of step IDs.
Source Source
File: includes/course/ld-course-steps-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |