Tribe__Events__Pro__Main::instance()

The singleton function.

Contents


Return

(Tribe__Events__Pro__Main) The instance.


Top ↑

Source

File: src/Tribe/Main.php

		public static function instance() {
			if ( ! isset( self::$instance ) ) {
				$className = __CLASS__;
				self::$instance = new $className;
			}

			return self::$instance;
		}