apply_filters( 'clanbite_groups_feature_active', bool $active, int $user_id )Filter whether group-scoped events may appear in a player’s merged calendar.
Default: true when the cp_group post type is registered (group product active).
Filter PHP
Parameters
$active(bool)Whether group events are included.
$user_id(int)Profile owner user ID.
Example
add_filter( 'clanbite_groups_feature_active', function ( $active, $user_id ) {
// Change $active here.
return $active;
}, 10, 2 );Defined in inc/events/functions.php