LLMS_Student_Quizzes::delete_attempt( int $attempt_id )
Remove Student Quiz attempt by ID
Description Description
Parameters Parameters
- $attempt_id
-
(int) (Required) Attempt ID
Return Return
(boolean) true on success, false on error
Source Source
File: includes/models/model.llms.student.quizzes.php
public function delete_attempt( $attempt_id ) { $attempt = $this->get_attempt_by_id( $attempt_id ); return $attempt->delete(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: