apply_filters( 'learndash_ques_multiple_answer_correct_whole', boolean $correct , array $question_data , int|string $answer_index , mixed $correct_answer , array $user_response )
Filters whether the answer to the multiple type question is correct or not.
Description Description
Parameters Parameters
- $correct
-
Whether the answer is correct or not.
- $question_data
-
An array of question data.
- $answer_index
-
Index of the answer.
- $correct_answer
-
Correct answer for the question.
- $user_response
-
An array of user response data.
Source Source
File: includes/quiz/ld-quiz-pro.php