Filter: sensei_question_answer_message_correct_answer

apply_filters( 'sensei_question_answer_message_correct_answer', $answer_message, $lesson_id, $question_id, $user_id, $answer_correct ) → {string}

Filter the correct answer.

Parameters:
Name Type Description
$answer_message string

Answer message.

$lesson_id int

Lesson ID.

$question_id int

Question ID.

$user_id int

User ID.

$answer_correct bool

Whether this is the correct answer.

Since:
  • 1.9.0
Source:
Returns:

Answer message.

Type
string