LLMS_Student::delete_quiz_attempt( int $quiz_id, int $lesson_id, int $attempt = null )

Remove Student Quiz attempts

Parameters Parameters


(int) (Required) WP Post ID of a Quiz


(int) (Required) WP Post ID of a lesson


(int) (Optional) attempt number, if omitted all attempts for quiz & lesson will be deleted

Default value: null

Top ↑

Return Return

(array) updated array quiz data for the student

Top ↑

Source Source

File: includes/models/model.llms.student.php


	 * Determine if the student has favorited a lesson.

Top ↑

Changelog Changelog

Version Description
3.4.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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