Action: mc_category_key_array

do_action( 'mc_category_key_array', $categories, $category, $id )

Filter the array of categories used to generate the category legend in My Calendar.

Parameters:
Name Type Description
$categories array

Array of category objects.

$category string

The active categories in the view. Comma-separated string of IDs or category name.

$id string

The calendar view ID.

Source: