Browse: Home / Functions /

learndash_get_course_quiz_list_legacy

This function has been deprecated. Use learndash_get_course_quiz_list instead.

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/deprecated/5.0.0/functions.php


Changelog #

Changelog
Version Description
5.0.0 Use learndash_get_course_quiz_list instead.
2.1.0 Introduced. This function has been deprecated. Use learndash_get_course_quiz_list instead.