LLMS_Controller_Lesson_Progression::quiz_complete( int $student_id, int $quiz_id, obj $attempt )

Trigger lesson completion when a quiz is completed

Parameters Parameters


(int) (Required) WP User ID.


(int) (Required) WP Post ID of the quiz.


(obj) (Required) Instance of the LLMS_Quiz_Attempt.

Top ↑

Return Return


Top ↑

Source Source

File: includes/controllers/class.llms.controller.lesson.progression.php

	public function quiz_complete( $student_id, $quiz_id, $attempt ) {

			$attempt->get( 'lesson_id' ),
			'quiz_' . $quiz_id,
				'attempt' => $attempt,


Top ↑

Changelog Changelog

Version Description
3.17.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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