apply_filters( 'sensei_course_progress_stats', $stat, $course_id ) → {array}
Filter the course progress stats.
Parameters:
Name | Type | Description |
---|---|---|
$stat |
array | An array of course progress stats. $stats['lessons_count'] The total number of lessons in the course. $stats['completed_lessons_count'] The total number of completed lessons of the course by the user. $stats['completed_lessons_percentage'] The completed lessons percentage relative to total number of lessons. |
$course_id |
int | The id of the course. |
- Since:
- 3.14.4
- Source:
Returns:
Filtered course progress stats.
- Type
- array