This function has been deprecated.
learndash_get_user_quiz_attempts_time_spent( int $user_id, int $quiz_id )
Gets the time spent by user on the quiz.
Description #
Total of each started/complete time set.
Parameters #
- $user_id
-
(int) (Required) The ID of the user to get quiz time spent.
- $quiz_id
-
(int) (Required) The ID of the quiz to get time spent.
Return #
(int) The total number of seconds spent on a quiz.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.0.0 | This function has been deprecated. |
| 2.3.0 | Introduced. This function has been deprecated. |