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).


Parameters

$post_obj

(WP_Post)

$mode

(string) (typically "previous" or "next")


Top ↑

Source

File: src/Tribe/Adjacent_Events.php


Top ↑

Changelog

Changelog
Version Description
4.6.12 Introduced.