| @@ -21,9 +21,8 @@ | ||
| 21 | 21 | const CATEGORY_ATOMIC_FORM = 'atomic-form'; |
| 22 | 22 | const CATEGORY_FAVORITES = 'favorites'; |
| 23 | 23 | const CATEGORY_ANGIE_WIDGETS = 'angie-widgets'; |
| 24 | 24 | const CATEGORY_CUSTOM_WIDGETS = 'custom-widgets'; |
| 25 | - const CATEGORY_BASIC = 'basic'; | |
| 26 | 25 | |
| 27 | 26 | /** |
| 28 | 27 | * Element types. |
| 29 | 28 | * |
| @@ -384,14 +383,10 @@ | ||
| 384 | 383 | * @param Elements_Manager $this Elements manager instance. |
| 385 | 384 | */ |
| 386 | 385 | do_action( 'elementor/elements/categories_registered', $this ); |
| 387 | 386 | |
| 388 | - $after_candidates = Plugin::$instance->experiments->is_feature_active( 'e_atomic_elements' ) | |
| 389 | - ? [ self::CATEGORY_ATOMIC_FORM, self::CATEGORY_ATOMIC_ELEMENTS ] | |
| 390 | - : [ self::CATEGORY_BASIC ]; | |
| 391 | - | |
| 392 | - $this->promote_category_after( self::CATEGORY_ANGIE_WIDGETS, $after_candidates ); | |
| 393 | - $this->promote_category_after( self::CATEGORY_CUSTOM_WIDGETS, $after_candidates ); | |
| 387 | + $this->promote_category_after( self::CATEGORY_ANGIE_WIDGETS, [ self::CATEGORY_ATOMIC_FORM, self::CATEGORY_ATOMIC_ELEMENTS ] ); | |
| 388 | + $this->promote_category_after( self::CATEGORY_CUSTOM_WIDGETS, [ self::CATEGORY_ATOMIC_FORM, self::CATEGORY_ATOMIC_ELEMENTS ] ); | |
| 394 | 389 | |
| 395 | 390 | $this->categories['wordpress'] = [ |
| 396 | 391 | 'title' => esc_html__( 'WordPress', 'elementor' ), |
| 397 | 392 | 'icon' => 'eicon-wordpress', |