learndash_get_user_quiz_attempts_time_spent( int $user_id, int $quiz_id )
Gets the time spent by user on the quiz.
Total of each started/complete time set.
(int) (Required) The ID of the user to get quiz time spent.
(int) (Required) The ID of the quiz to get time spent.
(int) The total number of seconds spent on a quiz.