public function registerShortcodes()
    {

        if (!function_exists('add_shortcode')) {
            return;
        }

        $this->shortcodes->rewind();
        while ($this->shortcodes->valid()) {

            $shortcode = $this->shortcodes->current();
            add_shortcode($shortcode->getName(), array($shortcode, 'getCallback'));
            $this->shortcodes->next();

        }

    }