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
Return Return
(array)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: