apply_filters( 'tribe_get_event', WP_Post $post , string $output , string $filter )
Filters the event post object before caching it and returning it.
Contents
Note: this value will be cached; as such this filter might not run on each request. If you need to filter the output value on each call of this function then use the tribe_get_event_before filter.
Parameters
- $post
-
(WP_Post) The event post object, decorated with a set of custom properties.
- $output
-
(string) The output format to use.
- $filter
-
(string) The filter, or context of the fetch.
Source
Changelog
| Version | Description |
|---|---|
| 4.9.7 | Introduced. |