eventorganiser_fullcalendar_query
(filter)
since 2.13.0
Filters the query before it is sent to the calendar.
The returned $query array is used to generate the cache key. The $query
array can contain any keys supported by eo_get_events()
, and so also
get_posts()
and
WP_Query()
.
Parameters
array
|
$query |
An query array (as given to eo_get_events() )
|
Changelog
Example Usage
add_filter( 'eventorganiser_fullcalendar_query', 'my_callback_function', 10, 1 );
function my_callback_function( $query ){
//Change first value and return it
return $query
};