eventorganiser_event_tooltip
(filter)
Filters the description of the event as it appears on the calendar tooltip.
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
string
|
$description |
The event's tooltip description.
|
int
|
$event_id |
The event's post ID.
|
int
|
$occurrence_id |
The event's occurrence ID.
|
\WP_Post
|
$post |
The event (post) object.
|
Example Usage
add_filter( 'eventorganiser_event_tooltip', 'my_callback_function', 10, 4 );
function my_callback_function( $description, $event_id, $occurrence_id, $post ){
//Change first value and return it
return $description
};
Resources