Browse: Home / Functions /

learndash_get_course_quiz_list_legacy

learndash_get_course_quiz_list_legacy( int|WP_Post|null $course = null,  int|null $user_id = null )

LEGACY: Gets the quiz list output for a course.


Description #

Replaced by learndash_get_course_quiz_list in 3.4.0.


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


Return #

(array|string) The quiz list HTML output.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.