LLMS_Quiz::can_be_resumed()
Determine if a quiz can be resumed.
Description Description
A quiz can only be resumed if it’s set to be resumed and has no time limit.
Return Return
(bool)
Source Source
File: includes/models/model.llms.quiz.php
public function can_be_resumed() {
return llms_parse_bool( $this->get( 'can_be_resumed' ) ) && ! $this->has_time_limit();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.8.0 | Introduced. |