Hooks::filter_view_url_query_args( array $query_args, TribeEventsViewsV2View_Interface $view )

Filters the query arguments Views will use to build their own URL.

Using the context we’ll know what filter are applied and what keys and values to add to the query args.

Parameters #


(array) (Required) The current URL query arguments.


(TribeEventsViewsV2View_Interface) (Required) The instance of the View the URL is being built for.

Top ↑

Return #

(array) The filtered array of URL query arguments.

Top ↑

Source #

File: src/Tribe/Views/V2/Hooks.php

	public function filter_view_url_query_args( array $query_args, View_Interface $view ) {
		return $this->container->make( Filters\Url::class )->filter_view_query_args( $query_args, $view );

Top ↑

Changelog #

Version Description
4.9.0 Introduced.