learndash_get_lesson_list( int|null $id = null, array $atts = array() )
Gets the lesson list for a course.
Description Description
Parameters Parameters
- $id
-
(Optional) The ID of the resource.
Default value: null
- $atts
-
(Optional) An array of lesson arguments.
Default value: array()
Return Return
(array|string) Returns Lesson list output or empty array.
Source Source
File: includes/course/ld-course-functions-legacy.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |