Plugin::instance()
Instance.
Description
Ensures only one instance of the plugin class is loaded or can be loaded.
Return
(\Vimeotheque\Plugin)
Source
File: includes/libs/plugin.class.php
public static function instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); /** * Triggered when Vimeotheque has loaded. * Fires when Vimeotheque was fully loaded and instantiated. * * @since 2.0 */ do_action( 'vimeotheque_loaded' ); } return self::$instance; }