LLMS_Student::get_best_quiz_attempt( $quiz = null,  $lesson = null )

Get the quiz attempt with the highest grade for a given quiz and lesson combination

Parameters Parameters


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


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

Top ↑

Return Return


Top ↑

Source Source

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

				'types'                 => 'favorites',
				'include_post_children' => false,
				'user_id'               => $this->get_id(),

Top ↑

Changelog Changelog

Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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