learndash_is_quiz_complete

learndash_is_quiz_complete( int|null $user_id = null,  int $quiz_id,  int $course_id )

Checks whether a quiz is complete for a user.


Description #


Parameters #

$user_id

(int|null) (Optional) User ID.

Default value: null

$quiz_id

(int) (Optional) Quiz ID.

$course_id

(int) (Optional) Course ID. Default 0.


Return #

(boolean) Returns true if the quiz is completed for a user otherwise false.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.