apply_filters( 'learndash_rest_statistic_question_response', array $question_response, WpProQuiz_Model_Question $question, string $student_answers, WpProQuiz_Model_StatisticRefModel $stat_ref_model )
Filters the response object for each question.
Description #
Parameters #
- $question_response
-
(array) Response array for question.
- $question
-
(WpProQuiz_Model_Question) Question object.
- $student_answers
-
(string) Submitted answer data by student.
- $stat_ref_model
-
(WpProQuiz_Model_StatisticRefModel) Statistics ref model.
Source #
File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |