Browse: Home / Classes / LDLMS_User_Quiz_Resume /

LDLMS_User_Quiz_Resume::get_user_quiz_resume_activity

LDLMS_User_Quiz_Resume::get_user_quiz_resume_activity( int $user_id,  $quiz_id,  int $course_id,  int $quiz_started,  bool $create = false )

Get the User Quiz Resume Activity and 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.

$create

(bool) (Optional) If true will create the activity record if does not exist.

Default value: false


Source #

File: includes/classes/class-ldlms-model-user-quiz-resume.php


Changelog #

Changelog
Version Description
3.5.0 Introduced.