Browse: Home / Functions /


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

LEGACY: Gets the quiz list output for a lesson.

Description #

Replaced by learndash_get_lesson_quiz_list in 3.4.0.

Parameters #


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


(int|null) (Optional) User ID.

Default value: null


(int|null) (Optional) Course ID.

Default value: null

Return #

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

Source #

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

Changelog #

Version Description
2.1.0 Introduced.