eventorganiser_event_color
(filter)
Filters the colour associated with an event
Parameters
string
|
$color |
Event colour in HEX format
|
int
|
$post_id |
The event (post) ID
|
Example Usage
add_filter( 'eventorganiser_event_color', 'my_callback_function', 10, 2 );
function my_callback_function( $color, $post_id ){
//Change first value and return it
return $color
};
Resources