Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Quiz_Attempt::is_auto_gradeable()
Determine if the attempt can be autograded
Return Return
(bool)
Source Source
File: includes/models/model.llms.quiz.attempt.php
private function is_auto_gradeable() { foreach ( $this->get_question_objects() as $question ) { if ( 'waiting' === $question->get_status() ) { return false; } } return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |