Tribe__Events__Community__Tickets__Main::add_template_updates_check( array $plugins )

Register Community Tickets with the template update checker.


Parameters #

$plugins

(array) (Required) List of plugins with template structure.


Top ↑

Return #

(array) List of plugins with template structure.


Top ↑

Source #

File: src/Tribe/Main.php

	public function add_template_updates_check( $plugins ) {
		$plugins[ __( 'Community Events Tickets', 'tribe-events-community-tickets' ) ] = [
			self::VERSION,
			$this->plugin_path . 'src/views/community-tickets',
			trailingslashit( get_stylesheet_directory() ) . 'tribe/community-tickets',
		];

		$plugins[ __( 'Community Events Tickets - Legacy', 'tribe-events-community-tickets' ) ] = [
			self::VERSION,
			$this->plugin_path . 'src/views/community-tickets',
			trailingslashit( get_stylesheet_directory() ) . 'tribe-events/community-tickets',
		];

		return $plugins;
	}

Top ↑

Changelog #

Changelog
Version Description
4.7.7 Introduced.