• 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 / Tribe__Events__Community__Tickets__Main / Tribe__Events__Community__Tickets__Main::add_template_paths()
Product: Community Events Tickets

Tribe__Events__Community__Tickets__Main::add_template_paths( $paths )

Register the community-tickets paths with TEC


Source

File: src/Tribe/Main.php

	public function add_template_paths( $paths ) {
		$paths['community-tickets'] = $this->plugin_path;
		return $paths;
	}

Expand full source code Collapse full source code

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