Hooks::filter_tec_events_default_view( string $default_view, string|null $type )

Get the class name for the default registered view.

Parameters #


(string) (Required) The view slug for the default view.


(string|null) (Required) The type of default View to return, either 'desktop' or 'mobile'; defaults to mobile.

Top ↑

Return #

(string) The filtered default View slug.

Top ↑

Source #

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

	public function filter_tec_events_default_view( $default_view, $type ) {
		return  $this->container->make( View_Filters::class )->filter_tec_events_default_view( $default_view, $type );

Top ↑

Changelog #

Version Description
5.12.3 Introduced.