Browse: Home / Functions /

learndash_get_lesson_list

learndash_get_lesson_list( int|null $id = null,  array $atts = array() )

Gets the lesson list for a course.


Description #


Parameters #

$id

(int|null) (Optional) The ID of the resource.

Default value: null

$atts

(array) (Optional) An array of lesson arguments.

Default value: array()


Return #

(array|string) Returns Lesson list output or empty array.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.