• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Hooks / Hooks::filter_view_label_domain()
Product: The Events Calendar PRO

Hooks::filter_view_label_domain( $domain,  $slug,  $view_class )


Source

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

	public function filter_view_label_domain( $domain, $slug, $view_class ) {
		if (
			'photo' !== $slug
			&& 'week' !== $slug
			&& 'map' !== $slug
		) {
			return $domain;
		}

		return  'tribe-events-calendar-pro';
	}

Expand full source code Collapse full source code

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy