LLMS_Quiz_Legacy::get_total_time( int $user_id, string $unique_id = '' )

Get total time spent on quiz Subtract start time from end time


Parameters Parameters

$user_id

(int) (Required) [ID of user]

$unique_id

(string) (Optional) [wpnonce of quiz submit]

Default value: ''


Top ↑

Return Return

(string) [formatted string representing total minutes]


Top ↑

Source Source

File: includes/class.llms.quiz.legacy.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.