PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-beta1
Elementor Website Builder – more than just a page builder v4.0.0-beta1
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | app/app.php +2 -23 4.3.2 → 4.0.0-beta1 View file →
@@ -22,9 +22,8 @@
22 22 use Elementor\App\Modules\KitLibrary\Module as KitLibraryModule;
23 23 use Elementor\App\Modules\ImportExportCustomization\Module as ImportExportCustomizationModule;
24 24 use Elementor\App\Modules\SiteEditor\Module as SiteEditorModule;
25 25 use Elementor\App\Modules\Onboarding\Module as OnboardingModule;
26 -use Elementor\App\Modules\OnboardingNew\Module as OnboardingNewModule;
27 26
28 27 if ( ! defined( 'ABSPATH' ) ) {
29 28 exit; // Exit if accessed directly.
30 29 }
@@ -169,9 +168,9 @@
169 168 ->set_path_resolver( function ( $name ) {
170 169 return ELEMENTOR_ASSETS_PATH . "js/packages/{$name}/{$name}.asset.php";
171 170 } );
172 171
173 - Collection::make( [ 'ui', 'icons', 'store', 'query', 'utils', 'events', 'onboarding', 'schema' ] )
172 + Collection::make( [ 'ui', 'icons', 'store', 'query', 'utils', 'events', 'onboarding' ] )
174 173 ->each( function( $package ) use ( $assets_config_provider ) {
175 174 $suffix = Utils::is_script_debug() ? '' : '.min';
176 175 $config = $assets_config_provider->load( $package )->get( $package );
177 176
@@ -298,22 +297,8 @@
298 297 'mutable' => false,
299 298 ] );
300 299 }
301 300
302 - private function register_e_onboarding_experiment() {
303 - Plugin::$instance->experiments->add_feature( [
304 - 'name' => 'e_onboarding',
305 - 'title' => esc_html__( 'New Onboarding', 'elementor' ),
306 - 'hidden' => true,
307 - 'default' => ExperimentsManager::STATE_INACTIVE,
308 - 'release_status' => ExperimentsManager::RELEASE_STATUS_DEV,
309 - ] );
310 - }
311 -
312 - private function is_e_onboarding_active(): bool {
313 - return Plugin::$instance->experiments->is_feature_active( 'e_onboarding' );
314 - }
315 -
316 301 public function __construct() {
317 302 $this->register_import_export_customization_experiment();
318 303
319 304 $this->add_component( 'site-editor', new SiteEditorModule() );
@@ -328,15 +313,9 @@
328 313 // Kit library is depended on import-export
329 314 $this->add_component( 'kit-library', new KitLibraryModule() );
330 315 }
331 316
332 - $this->register_e_onboarding_experiment();
333 -
334 - if ( $this->is_e_onboarding_active() ) {
335 - $this->add_component( 'onboarding', new OnboardingNewModule() );
336 - } else {
337 - $this->add_component( 'onboarding', new OnboardingModule() );
338 - }
317 + $this->add_component( 'onboarding', new OnboardingModule() );
339 318
340 319 add_action( 'elementor/editor-one/menu/register', function ( Menu_Data_Provider $menu_data_provider ) {
341 320 $this->register_editor_one_menu( $menu_data_provider );
342 321 } );