apply_filters( 'tribe_events_get_closest_event', WP_Post $post_obj , string $mode )
Affords an opportunity to modify the event used to generate the event link (typically for the next or previous event in relation to $post).
Contents
Parameters
- $post_obj
-
(WP_Post)
- $mode
-
(string) (typically "previous" or "next")
Source
Changelog
| Version | Description |
|---|---|
| 4.6.12 | Introduced. |