Hooks::filter_shortcode_view_url( string $url, bool $canonical, TribeEventsViewsV2View_Interface $view )
Filters the View URL to add the shortcode query arg, if required.
Contents
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.
Return
(string) Filtered version for the URL for shortcodes.
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 ); }
Changelog
Version | Description |
---|---|
4.7.9 | Introduced. |