do_action( 'sensei_user_lesson_end', $user_id, $lesson_id )
Fires when a user completes a lesson. Here as part of grading a quiz.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | The user ID. |
$lesson_id |
int | The lesson ID. |