eventorganiser_events_expire_time
(filter)
Filters how long (in seconds) after an event as finished it should be considered expired.
If enabled in Settings > Event Organiser > General, expired events are trashed.
Parameters
int
|
$time_until_expired |
Time (in seconds) to wait after an event has finished. Defaults to 24 hours.
|
Example Usage
add_filter( 'eventorganiser_events_expire_time', 'my_callback_function', 10, 1 );
function my_callback_function( $time_until_expired ){
//Change first value and return it
return $time_until_expired
};