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

(LLMS_Quiz) The LLMS_Quiz instance.

$student

(LLMS_Student|false) LLMS_Student instance or false if user not found.


Top ↑

Source Source

File: includes/models/model.llms.quiz.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

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