Filter: sensei_course_completion_percentage

apply_filters( 'sensei_course_completion_percentage', $percentage, $course_id, $user_id ) → {float}

Filter the percentage returned for a users course.

Parameters:
Name Type Description
$percentage float

The percentage of the course completed.

$course_id int

The ID of the course.

$user_id int

The ID of the user.

Since:
  • 1.8.0
Source:
Returns:

Filtered percentage.

Type
float