private function runHooks()
    {
        if (class_exists($Hook = 'Josantonius\Hook\Hook')) {
            $Hook::getInstance(self::$id);
            if (isset($this->settings['hooks'])) {
                $Hook::addActions($this->settings['hooks']);
                unset($this->settings['hooks']);
            }
            $Hook::doAction('after-load-hooks');
        }
    }
private function runHooks()
    {
        if (class_exists($Hook = 'Josantonius\Hook\Hook')) {
            $Hook::getInstance(self::$id);
            if (isset($this->settings['hooks'])) {
                $Hook::addActions($this->settings['hooks']);
                unset($this->settings['hooks']);
            }
            $Hook::doAction('after-load-hooks');
        }
    }
private function runHooks ( ) { if ( class_exists ( $ Hook = 'Josantonius\Hook\Hook' ) ) { $ Hook :: getInstance ( self :: $ id ) ; if ( isset ( $ this -> settings [ 'hooks' ] ) ) { $ Hook :: addActions ( $ this -> settings [ 'hooks' ] ) ; unset ( $ this -> settings [ 'hooks' ] ) ; } $ Hook :: doAction ( 'after-load-hooks' ) ; } }
Load hooks.

@since 1.1.0

@uses \string Hook::getInstance() → get Hook instance
@uses \string Hook::addActions()  → add action hook

@link https://github.com/Josantonius/PHP-Hook
Load hooks .