Embed Snippet on Your Site
Event Data | Display Eventbrite Events
Please note that this guide is intended for advanced users and developers. Our plugin already offers numerous options for filtering, selecting, and displaying events. However, it is important to distinguish the plugin's filtering capabilities from WordPress filters.
This filter modifies the data returned by Display Eventbrite. It takes the start date and applies it to the end of multi-day events, making them appear as a single bookable entry in calendar layouts. After retrieving the data from the API or cache, you can apply filters to customize or add event data from other sources.
Filter example: ('wfea_api_results', $events, $atts)
In this slightly complex example, the end date of multi-day events is changed so that they appear as a single bookable day in calendar layouts.
(Note this code snippet applies for "Display Eventbrite Events Plugin" available here: https://fullworksplugins.com/products/widget-for-eventbrite/ )