apply_filters( 'learndash_ques_single_answer_pts', integer $points, array $question_data, int|string $answer_index, mixed $correct_answer, array $user_response )

Filters points awarded for a single answer type question.


Description Description

LearnDash single answer question, allow points to be allocated for not marking an incorrect answer. Allow all possibility of given answer to be correct answer.


Parameters Parameters

$points

Points awarded to quiz

$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.


Top ↑

Source Source

File: includes/quiz/ld-quiz-pro.php


Top ↑

User Contributed Notes User Contributed Notes

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