eventorganiser_event_classes
(filter)
Filters an array of classes for specified event (occurrence)
Parameters
array
|
$event_classes |
An array of class pertaining to this occurrence
|
int
|
$post_id |
The ID of the event
|
\into
|
$occurrence_id |
The ID of the occurrence
|
Example Usage
add_filter( 'eventorganiser_event_classes', 'my_callback_function', 10, 3 );
function my_callback_function( $event_classes, $post_id, $occurrence_id ){
//Change first value and return it
return $event_classes
};