do_action( 'sensei_user_course_end', $user_id, $course_id )
Fires when a user completes a course and is redirected to the course completed page.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | The user ID. |
$course_id |
int | The course ID. |