Warning: 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 Description


Parameters Parameters

$course_id

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

$include_post_types

(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')


Top ↑

Return Return

(array) An array of course step IDs.


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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