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