This function has been deprecated. Use learndash_get_user_quiz_attempts instead.
learndash_get_user_quiz_attempts_count( int $user_id, int $quiz_id )
Gets the count of user quiz attempts.
Description #
Parameters #
- $user_id
-
(int) (Required) The ID of the user to get quiz attempts.
- $quiz_id
-
(int) (Required) The ID of the quiz to get attempts.
Return #
(int|void) The count of quiz attempts.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.0.0 | Use learndash_get_user_quiz_attempts instead. |
| 2.3.0 | Introduced. This function has been deprecated. Use learndash_get_user_quiz_attempts instead. |