apply_filters( 'tribe_aggregator_build_url_data', array<string, , string $endpoint )
Allow to filter the variable used to build the URL with add_query_arg to insert or change values as required.
Contents
Parameters
-
(<span class="arrayarray<string,) mixed> $data An array with the data to build the URL.
- $endpoint
-
(string) The endpoint used to construct the URL.
Return
(array<string,) mixed> An array with the data used to build the URL.
Source
Changelog
| Version | Description |
|---|---|
| 5.4.0 | Introduced. |