PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-dev3
Elementor Website Builder – more than just a page builder v4.0.0-dev3
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 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | includes/managers/elements.php +2 -12 4.0.74.0.0-dev3 View file →
@@ -334,23 +334,13 @@
334 334 ],
335 335 ],
336 336 ];
337 337
338 - if ( Plugin::$instance->experiments->is_feature_active( 'e_atomic_elements' ) ) {
338 + if ( Utils::has_pro() && Plugin::$instance->experiments->is_feature_active( 'e_pro_atomic_form' ) ) {
339 339 $atomic_form_category = [
340 340 'title' => esc_html__( 'Atomic Form', 'elementor' ),
341 + 'hideIfEmpty' => true,
341 342 ];
342 -
343 - if ( Utils::has_pro() && Plugin::$instance->experiments->is_feature_active( 'e_pro_atomic_form' ) ) {
344 - $atomic_form_category['hideIfEmpty'] = true;
345 - } elseif ( ! Utils::has_pro() ) {
346 - $atomic_form_category['hideIfEmpty'] = false;
347 - $atomic_form_category['promotion'] = [
348 - 'url' => esc_url( 'https://go.elementor.com/go-pro-atomic-form-section/' ),
349 - ];
350 - } else {
351 - $atomic_form_category['hideIfEmpty'] = true;
352 - }
353 343
354 344 $this->categories = array_merge(
355 345 [ self::CATEGORY_ATOMIC_ELEMENTS => $this->categories[ self::CATEGORY_ATOMIC_ELEMENTS ] ],
356 346 [ self::CATEGORY_ATOMIC_FORM => $atomic_form_category ],