Tribe__Tickets_Plus__Main::add_template_updates_check( array $plugins )

Register Event Tickets Plus with the template update checker.


Parameters

$plugins

(array) (Required)


Top ↑

Return

(array)


Top ↑

Source

File: src/Tribe/Main.php

		public function add_template_updates_check( $plugins ) {
			// ET+ views can be in one of a range of different subdirectories (eddtickets, wootickets
			// etc) so we will tell the template checker to simply look in views/tribe-events and work
			// things out from there
			$plugins[ __( 'Event Tickets Plus', 'event-tickets-plus' ) ] = array(
				self::VERSION,
				$this->plugin_path . 'src/views',
				trailingslashit( get_stylesheet_directory() ) . 'tribe-events',
			);

			return $plugins;
		}

Top ↑

Changelog

Changelog
Version Description
5.1.0 Introduced.