Filter: sensei_question_answer_message_text

apply_filters( 'sensei_question_answer_message_text', $answer_message, $lesson_id, $question_id, $user_id, $user_correct ) → {string}

Filter the answer message.

Parameters:
Name Type Description
$answer_message string

Answer message.

$lesson_id int

Lesson ID.

$question_id int

Question ID.

$user_id int

User ID.

$user_correct bool

Whether this is the correct answer.

Deprecated:
  • Yes
Source:
Returns:

Answer message.

Type
string