/** * Constructor - set the properties. * * @param string $shortcode The shortcode for which to retrieve info. */ public function __construct($shortcode = '') { $shortcake = shortcode_ui_get_register_shortcode($shortcode); if (!isset($shortcake)) { return; } $this->shortcake = $shortcake; Debug_Bar_Shortcode_Info_Reflection::__construct($shortcode); // Skip parent, do grandparent. $this->set_name(); $this->set_description(); $this->set_self_closing(); $this->set_parameters(); $this->set_info_url(); }
/** * Constructor - set the properties. * * @param string $shortcode The shortcode for which to retrieve info. */ public function __construct($shortcode = '') { parent::__construct($shortcode); $this->set_info_properties(); }