learndash_get_user_quiz_attempts_count( int $user_id, int $quiz_id )
Gets the count of user quiz attempts.
Description Description
Parameters Parameters
- $user_id
-
(Required) The ID of the user to get quiz attempts.
- $quiz_id
-
(Required) The ID of the quiz to get attempts.
Return Return
(int|void) The count of quiz attempts.
Source Source
File: includes/ld-reports.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |