LLMS_Quiz_Attempt_Question::is_correct()
Determine if a question is correct
Return Return
(bool)
Source Source
File: includes/models/model.llms.quiz.attempt.question.php
public function is_correct() { if ( 'graded' === $this->get_status() ) { return llms_parse_bool( $this->get( 'correct' ) ); } return false; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.8 | Introduced. |