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

LEGACY: Gets the lesson list output for a course.


Description Description

Replaced by learndash_get_course_lessons_list in 3.4.0.


Parameters Parameters

$course

(Optional) The WP_Post course object or course ID.

Default value: null

$user_id

(Optional) User ID.

Default value: null

$lessons_args

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

Default value: array()


Top ↑

Return Return

(string) The lesson list HTML output.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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