Filter: sensei_count_statuses

apply_filters( 'sensei_count_statuses', $counts, $type ) → {array}

Filter the counts of statuses for a given type.

Parameters:
Name Type Description
$counts array

Array of counts for each status.

$type string

Type of status to count: sensei_course_status or sensei_lesson_status.

Source:
Returns:

Filtered counts.

Type
array