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.
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
esc_html__()
, see https://codex.wordpress.org/I18n_for_WordPress_Developers)