Home / Admin / Combined Date – Time Format (Override Completely) | Display Eventbrite Events
Duplicate Snippet

Embed Snippet on Your Site

Combined Date – Time Format (Override Completely) | Display Eventbrite Events

The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00 – 11:00. Using this filter, you can override time format completely.

filter: (‘wfea_event_time‘ , $event_time, $start, $end)

(Note this code snippet applies for "Display Eventbrite Events Plugin" available here: https://fullworksplugins.com/products/widget-for-eventbrite/ )

Code Preview
php
<?php
add_filter( 'wfea_event_time', function ( $event_time, $start, $end ) {
       // do you stuff  to update $event_time
	return $event_time;
}, 10, 1 );

Comments

Add a Comment