} /** * Returns the instance. * * @since 1.0.0 * @return object */ public static function get_instance() { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self(); } return self::$instance; } /** * Render the panel * * @since 1.0.0 * * @return void */ public function display_panel() { if (self::is_panel_show()) { $this->switcher_panel->panel_render(); } } } Cherry_Style_Switcher::get_instance(); }