Hooks::filter_shortcode_view_url( string $url, bool $canonical, TribeEventsViewsV2View_Interface $view )

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


Parameters

$url

(string) (Required) The View current URL.

$canonical

(bool) (Required) Whether the URL is a canonical one or not.

$view

(TribeEventsViewsV2View_Interface) (Required) This view instance.


Top ↑

Return

(string) Filtered version for the URL for shortcodes.


Top ↑

Source

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

	public function filter_shortcode_view_url( $url, $canonical, $view ) {
		return $this->container->make( Shortcodes\Manager::class )->filter_view_url( $url, $view );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.9 Introduced.