Tribe__Tickets__Main::bootstrap()

Load Text Domain on tribe_common_loaded as it requires common

Contents


Source

File: src/Tribe/Main.php

	public function bootstrap() {

		Tribe__Main::instance( $this )->load_text_domain( 'event-tickets', $this->plugin_dir . 'lang/' );

		// Intialize the Service Provider for Tickets
		tribe_register_provider( 'Tribe__Tickets__Service_Provider' );

		$this->hooks();

		$this->register_active_plugin();

		$this->bind_implementations();
		$this->user_event_confirmation_list_shortcode();
		$this->move_tickets();
		$this->move_ticket_types();
		$this->activation_page();

		Tribe__Tickets__JSON_LD__Order::hook();
		Tribe__Tickets__JSON_LD__Type::hook();

		tribe( 'tickets.privacy' );

		/**
		 * Fires once Event Tickets has completed basic setup.
		 */
		do_action( 'tribe_tickets_plugin_loaded' );

	}

Top ↑

Changelog

Changelog
Version Description
4.10 Introduced.