/** * Add a shortcode to the theme. * * @param THB_Shortcode $shortcode * @return void */ public function addShortcode(THB_Shortcode $shortcode) { $this->_shortcodes[$shortcode->getType()][] = $shortcode; }
/** * Add a shortcode to the theme. * * @param THB_Shortcode $shortcode * @return void */ public function addShortcode(THB_Shortcode $shortcode) { $this->_shortcodes[$shortcode->getType()][] = $shortcode; }