apply_filters( 'tribe_aggregator_async_insert_event', null|Tribe__Events__Aggregator__Record__Activity $activity , Tribe__Events__Aggregator__Record__Abstract $record , array|stdClass $data )
Allows replacing the event data insertion completely.
Contents
Returning a non null value here will replace the built in functionality with the one implemented by the filtering function.
Parameters
- $activity
-
(null|Tribe__Events__Aggregator__Record__Activity) The activity resulting from the event insertion.
- $record
-
(Tribe__Events__Aggregator__Record__Abstract) The current import record
- $data
-
(array|stdClass) An object or array containing the raw data for this event.
Source
Changelog
| Version | Description |
|---|---|
| 4.6.19 | Introduced. |