Hooks::filter_view_html_classes( TribeEventsProViewsV2array $html_classes, string $slug, TribeEventsViewsV2View_Interface $view )

Filters the View HTML classes to add some related to PRO features.


Parameters

$html_classes

(<span class="TribeEventsProViewsV2array">TribeEventsProViewsV2array) (Required) The current View HTML classes.

$slug

(string) (Required) The View registered slug.

$view

(TribeEventsViewsV2View_Interface) (Required) The View currently rendering.


Top ↑

Return

(TribeEventsProViewsV2array<string>) The filtered HTML classes.


Top ↑

Source

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

	public function filter_view_html_classes( $html_classes, $slug, $view ) {
		$html_classes = $this->container->make( Shortcodes\Tribe_Events::class )
		                                ->filter_view_html_classes( $html_classes, $slug, $view );

		return $html_classes;
	}

Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.