ADVANCED_SIDEBAR_BASIC_VERSION, $widget->id => $asm->instance, ); if ( defined( 'ADVANCED_SIDEBAR_MENU_PRO_VERSION' ) ) { $data['pro_version'] = ADVANCED_SIDEBAR_MENU_PRO_VERSION; } if ( ! $printed ) { ?> hook(); } /** * Get (and instantiate, if necessary) the instance of the * class * * @static * @return self */ public static function instance() { if ( ! is_a( self::$instance, __CLASS__ ) ) { self::$instance = new self(); } return self::$instance; } }