LLMS_Quiz_Legacy::get_total_time( int $user_id, string $unique_id = '' )
Get total time spent on quiz Subtract start time from end time
Contents
Parameters Parameters
- $user_id
-
(int) (Required) [ID of user]
- $unique_id
-
(string) (Optional) [wpnonce of quiz submit]
Default value: ''
Return Return
(string) [formatted string representing total minutes]
Source Source
File: includes/class.llms.quiz.legacy.php
Expand full source code Collapse full source code View on GitHub