LDLMS_User_Quiz_Resume::update_user_quiz_resume_metadata( int $user_id, int $quiz_id, int $course_id, int $quiz_started, array $results = array() )
Update the User Quiz Resume Activity Meta record.
Description #
Parameters #
- $user_id
-
(int) (Required) User ID.
- $quiz_id
-
(int) (Required) Quiz ID.
- $course_id
-
(int) (Required) Course ID.
- $quiz_started
-
(int) (Required) Quiz started timestamp.
- $results
-
(array) (Optional) Quiz question results array.
Default value: array()
Source #
File: includes/classes/class-ldlms-model-user-quiz-resume.php
Changelog #
Version | Description |
---|---|
3.5.0 | Introduced. |