learndash_get_lesson_quiz_list

learndash_get_lesson_quiz_list( int|WP_Post $lesson,  int|null $user_id = null,  int|null $course_id = null )

Gets the quiz list output for a lesson.


Description #


Parameters #

$lesson

(int|WP_Post) (Required) The WP_Post lesson object or lesson ID.

$user_id

(int|null) (Optional) User ID.

Default value: null

$course_id

(int|null) (Optional) Course ID.

Default value: null


Return #

(array|string) The lesson quiz list HTML output.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.