LLMS_Question_Choice::is_correct()
Determine if the choice is correct
Return Return
(bool)
Source Source
File: includes/models/model.llms.question.choice.php
public function is_correct() {
return filter_var( $this->get( 'correct' ), FILTER_VALIDATE_BOOLEAN );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.16.0 | Introduced. |