Action: sensei_user_quiz_grade

do_action( 'sensei_user_quiz_grade', $user_id, $quiz_id, $grade, $quiz_passmark, $quiz_grade_type )

Fires when a user quiz is graded.

Parameters:
Name Type Description
$user_id int

ID of user being graded.

$quiz_id int

ID of quiz.

$grade float

Grade received.

$quiz_passmark int

Passmark for quiz.

$quiz_grade_type string

Type of grading.

Source: