Filter: sensei_question_answer_message_css_class

apply_filters( 'sensei_question_answer_message_css_class', $answer_notes_classname, $lesson_id, $question_id, $user_id, $answer_correct ) → {string}

Filter the answer message CSS classes.

Parameters:
Name Type Description
$answer_notes_classname 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.

$answer_correct bool

Whether this is the correct answer.

Since:
  • 1.9.0
Source:
Returns:

Space-separated CSS classes to apply to answer message.

Type
string

apply_filters( 'sensei_question_answer_message_css_class', $answer_notes_classname, $lesson_id, $question_id, $user_id, $answer_correct ) → {string}

Filter the answer message CSS classes.

Parameters:
Name Type Description
$answer_notes_classname 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.

$answer_correct bool

Whether this is the correct answer.

Source:
Returns:

Space-separated CSS classes to apply to answer message.

Type
string