Filter: sensei_question_answer_message_css_class

apply_filters( 'sensei_question_answer_message_css_class', $answer_message_class, $lesson_id, $question_id, $user_id, $user_correct ) → {string}

Filter the answer message CSS classes.

Parameters:
Name Type Description
$answer_message_class string

Space-separated CSS classes to apply to 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.

Source:
Returns:

Space-separated CSS classes to apply to answer message.

Type
string