get_instance() protected static method

Returns the Hookr_Plugin derived instance.
protected static get_instance ( string $class = __CLASS__ ) : object
$class string
return object Instance of Hookr_Plugin
Ejemplo n.º 1
0
 /**
  * Plugin init.
  * 
  * @return object
  */
 static function init()
 {
     return parent::get_instance(__CLASS__);
 }