apply_filters( 'tribe_get_venue_object_before', mixed $return, mixed $venue, string|null $output, string $filter )

Filters the venue result before any logic applies.

Returning a non null value here will short-circuit the function and return the value. Note: this value will not be cached and the caching of this value is a duty left to the filtering function.


Parameters

$return

(mixed) The venue object to return.

$venue

(mixed) 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) Type of filter to apply. Accepts 'raw'.


Top ↑

Source

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


Top ↑

Changelog

Changelog
Version Description
4.9.9 Introduced.