Browse: Home / Hooks /

learndash_rest_statistic_question_response

apply_filters( 'learndash_rest_statistic_question_response',  stdClass $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

(stdClass) Response object 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 #

Changelog
Version Description
3.3.0 Introduced.