LLMS_Quiz_Attempt::can_be_resumed()

Determine if the attempt can be resumed.


Return Return

(boolean)


Top ↑

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();
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.