learndash_get_course_lessons_list

learndash_get_course_lessons_list( int|WP_Post|null $course = null,  int|null $user_id = null,  array $lessons_args = array() )

Gets the lesson list output for a course.


Description #


Parameters #

$course

(int|WP_Post|null) (Optional) The WP_Post course object or course ID.

Default value: null

$user_id

(int|null) (Optional) User ID.

Default value: null

$lessons_args

(array) (Optional) An array of query arguments to get lesson list.

Default value: array()


Return #

(string) The lesson list HTML output.


Source #

File: includes/course/ld-course-navigation.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.