eventorganiser_admin_cal_summary
(filter)
Filters the summary of the event as it appears in the admin calendar's modal.
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
|
$summary |
The event (admin) summary,
|
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_admin_cal_summary', 'my_callback_function', 10, 4 );
function my_callback_function( $summary, $event_id, $occurrence_id, $post ){
//Change first value and return it
return $summary
};