' . esc_html__('We are unable to connect to the 8Theme API to retrieve the list of versions.', 'xstore') . '
'; return; } $pages = array_filter($versions, function( $el ) { if (isset($el['type'])){ return $el['type'] == 'page'; } }); $demos = array_filter($versions, function( $el ) { if (isset($el['type'])){ return $el['type'] == 'demo'; } }); $installed_versions = array(); $installed_version = get_option('etheme_current_version'); $core_active = class_exists('ETC\App\Controllers\Admin\Import'); if ( $installed_version ) { $installed_versions[] = json_decode($installed_version)->name; } $is_remove = false; $et_imported_data = get_option('et_imported_data', array()); if (count($et_imported_data)){ foreach ($et_imported_data as $type){ if (count($type)){ $is_remove = true; break; // limit to stop if fount } } if (!$is_remove){ delete_option('etheme_current_version'); $installed_versions = array(); $installed_version = false; } } $global_admin_class = EthemeAdmin::get_instance(); ?>
' . esc_html__('Now you have access to lifetime updates, top-notch 24/7 live support, and much more features.', 'xstore') . '