apply_filters( 'llms_quiz_is_open', boolean $quiz_open , int|null $user_id , int $quiz_id , LLMS_Quiz $quiz , LLMS_Student|false $student )
Filters whether the quiz is open to a student or not.
Parameters Parameters
- $quiz_open
-
(boolean) Whether the quiz is open.
- $user_id
-
(int|null) WP User ID, can be
null
. - $quiz_id
-
(int) The Quiz id.
- $quiz
- $student
-
(LLMS_Student|false) LLMS_Student instance or false if user not found.