eo_get_event_color
since 1.6
eo_get_event_color( $post_id )
Returns the colour of a category associated with the event.
Applies the eventorganiser_event_color filter.
Parameters
int
|
$post_id |
The event (post) ID. Uses current event if empty.
|
Return value
string
|
The colour of the category in HEX format
|
Hooks
Changelog