LLMS_Privacy::get_student_quizzes( LLMS_Student $student, int $page )

Retrieve student quizzes.


Parameters Parameters

$student

(LLMS_Student) (Required) Student object.

$page

(int) (Required) Page number.


Top ↑

Return Return

(LLMS_Query_Quiz_Attempt)


Top ↑

Source Source

File: includes/privacy/class-llms-privacy.php

	protected static function get_student_quizzes( $student, $page ) {

		return new LLMS_Query_Quiz_Attempt(
			array(
				'page'       => $page,
				'per_page'   => 500,
				'quiz_id'    => array(),
				'student_id' => $student->get( 'id' ),
			)
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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