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 Description


Parameters Parameters

$user_id

(Optional) User ID.

Default value: null

$quiz_id

(Optional) Quiz ID.

$course_id

(Optional) Course ID. Default 0.


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.