Hooks::filter_shortcode_view_url_query_args( $query, string $view_slug,  $view )

Filters the View URL to add the shortcode query arg, if required.


Parameters

$query_args

(array) (Required) Arguments used to build the URL.

$view_slug

(string) (Required) The current view slug.

$instance

(TribeEventsViewsV2View) (Required) The current View object.


Top ↑

Return

(array) Filtered the query arguments for shortcodes.


Top ↑

Source

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

	public function filter_shortcode_view_url_query_args( $query, $view_slug, $view ) {
		return $this->container->make( Shortcodes\Manager::class )->filter_view_url_query_args( $query, $view_slug, $view );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.9 Introduced.