Filter: mc_filter_events

apply_filters( 'mc_filter_events', $arr_events, $args, $context ) → {array}

Filter events returned by my_calendar_get_events queries. Function returns a range of events between a start and end date.

Parameters:
Name Type Description
$arr_events array

Array of event objects.

$args array

Event query arguments.

$context string

Current function context.

Source:
Returns:
Type
array

apply_filters( 'mc_filter_events', $events, $args, $context ) → {array}

Filter events returned by mc_get_all_events queries. Function returns a range of events based on proximity to the current date using parameters for number of days/events before or after today.

Parameters:
Name Type Description
$events array

Array of event objects.

$args array

Event query arguments.

$context string

Current function context.

Source:
Returns:
Type
array