WPLessPlugin::dispatch PHP 메소드

dispatch() 공개 메소드

Dispatches all events of the plugin
부터: 1.3
저자: oncletom
public dispatch ( )
    public function dispatch()
    {
        if ($this->is_hooks_registered) {
            return false;
        }
        /*
         * Garbage Collection Registration
         */
        $gc = new WPLessGarbagecollector($this->configuration);
        add_action('wp-less-garbage-collection', array($gc, 'clean'));
        /*
         * Last Hooks
         */
        $this->registerHooks();
    }