apply_filters( 'tribe_get_venue_object_after', WP_Post $post, int|WP_Post $venue, string|null $output, string $filter )

Filters the venue result after the venue has been built from the function.

Note: this value will not be cached and the caching of this value is a duty left to the filtering function.


Parameters

$post

(WP_Post) The venue post object to filter and return.

$venue

(int|WP_Post) The venue object to fetch.

$output

(string|null) The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to a WP_Post object, an associative array, or a numeric array, respectively. Defaults to OBJECT.

$filter

(string) The filter, or context of the fetch.


Top ↑

Source

File: src/functions/template-tags/venue.php


Top ↑

Changelog

Changelog
Version Description
6.0.3.1 Introduced.