Browse: Home / Classes / LDLMS_Model_User_Quiz_Progress /

LDLMS_Model_User_Quiz_Progress::has_completed_step

LDLMS_Model_User_Quiz_Progress::has_completed_step( integer $quiz_id,  integer $course_id )

Check if user has completed/passed a specific Quiz.


Description #

Can check for course quizzes or global quizzes.


Parameters #

$user_id

(integer) (Required) User ID.

$quiz_id

(integer) (Required) Quiz Post ID.

$course_id

(integer) (Required) Course Post ID.


Return #

(boolean)


Source #

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


Changelog #

Changelog
Version Description
3.4.0 Introduced.