Browse: Home / Functions /


This function has been deprecated. Use ‘learndash_get_course_steps’ instead.

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 #


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


(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/deprecated/3.4.0/functions.php

Changelog #

Version Description
3.4.0 Introduced. Use 'learndash_get_course_steps' instead.