LLMS_Quiz::has_attempt_limit()
Determine if the quiz defines limited attempts.
Contents
Return Return
(bool)
Source Source
File: includes/models/model.llms.quiz.php
public function has_attempt_limit() {
return ( 'yes' === $this->get( 'limit_attempts' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.16.0 | Introduced. |