LLMS_Quiz_Attempt::can_be_resumed()
Determine if the attempt can be resumed.
Return Return
(boolean)
Source Source
File: includes/models/model.llms.quiz.attempt.php
public function can_be_resumed() {
return 1 === (int) $this->get( 'can_be_resumed' ) && 'incomplete' === $this->get( 'status' ) && ! $this->has_resume_attempt_time_expired() && $this->is_last_attempt();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.8.0 | Introduced. |