learndash_get_course_lessons_order( int $course_id )
Gets the course lessons order query arguments.
Description Description
The course lessons order can be set in the course or globally defined in the lesson options. This function will check all logic and return the correct setting.
Parameters Parameters
- $course_id
-
(Optional) The ID of the course. Default 0.
Return Return
(array) An array of course lessons order query arguments.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.5.8 | Introduced. |