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.


Top ↑

Return Return

(array) An array of step IDs.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.