learndash_can_attempt_again( int $user_id, int $quiz_id )
Checks whether a user can attempt the quiz again.
Description Description
Parameters Parameters
- $user_id
-
(Required) User ID.
- $quiz_id
-
(Required) Quiz ID.
Return Return
(boolean) Returns true if the user can attempt quiz again otherwise false.
Source Source
File: includes/course/ld-course-progress.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |