eventespresso / ee4-events-calendar

Event Espresso Calendar addon (for EE4+)
0 stars 3 forks source link

New filter: customize $calendar_datetime object #11

Closed davefx closed 3 years ago

davefx commented 4 years ago

Added new filter that enables the further customization of $calendar_datetime object, for example by using a derived custom class.

Problem this Pull Request solves

We'd like to further customize the generated $calendar_datetime object, adding data in the object initialization that links the event with data from other plugins. This data will be processed used by other filters in the method.

How has this been tested

It's just a new filter. It doesn't affect the current code base unless the filter is used as a new hook for a new callback.

Checklist

davefx commented 3 years ago

@eeteamcodebase @manzoorwanijk Hi! Would you consider merging this PR?