learndash_get_course_steps_ORG

learndash_get_course_steps_ORG( int $course_id,  array $include_post_types = array('sfwd-lessons', 'sfwd-topic') )

Gets the list of course step IDs.


Description #


Parameters #

$course_id

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

$include_post_types

(array) (Optional) An array of post types to include in course steps. Default array contains 'sfwd-lessons' and 'sfwd-topic'.

Default value: array('sfwd-lessons', 'sfwd-topic')


Return #

(array) An array of course step IDs.


Source #

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