Filter: sensei_questions_get_correct_answer

apply_filters( 'sensei_questions_get_correct_answer', $right_answer, $question_id ) → {string}

Filter the correct answer response.

Can be used for text filters.

Parameters:
Name Type Description
$right_answer string

Correct answer.

$question_id int

Question ID.

Since:
  • 1.9.7
Source:
Returns:

Correct answer.

Type
string