eventorganiser_admin_fullcalendar_event
(filter)
Filters the event before its sent to the admin calendar.
Note: As the calendar is cached, changes made using this filter
will not take effect immediately. You can clear the cache by
updating an event.
Parameters
array
|
$event |
The event array.
|
int
|
$event_id |
The event's post ID.
|
int
|
$occurrence_id |
The event's occurrence ID.
|
Example Usage
add_filter( 'eventorganiser_admin_fullcalendar_event', 'my_callback_function', 10, 3 );
function my_callback_function( $event, $event_id, $occurrence_id ){
//Change first value and return it
return $event
};