LLMS_Student::get_quiz_data( int $quiz = null, int $lesson = null )

Retrieve quiz data for a student for a lesson / quiz combination


Description Description


Parameters Parameters

$quiz

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

Default value: null

$lesson

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

Default value: null


Top ↑

Return Return

(array)


Top ↑

Source Source

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

	public function get_quiz_data( $quiz = null, $lesson = null ) {
		llms_deprecated_function( 'LLMS_Student->get_quiz_data()', '3.9.0', 'LLMS_Student->quizzes()->get_all()' );
		return $this->quizzes()->get_all( $quiz, $lesson );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: