PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.3
Elementor Website Builder – more than just a page builder v4.0.3
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 4.0.8 4.1.0-beta1 All 453 releases
← All changes | includes/managers/elements.php +12 -2 4.0.24.0.3 View file →
@@ -334,13 +334,23 @@
334 334 ],
335 335 ],
336 336 ];
337 337
338 - if ( Utils::has_pro() && Plugin::$instance->experiments->is_feature_active( 'e_pro_atomic_form' ) ) {
338 + if ( Plugin::$instance->experiments->is_feature_active( 'e_atomic_elements' ) ) {
339 339 $atomic_form_category = [
340 340 'title' => esc_html__( 'Atomic Form', 'elementor' ),
341 - 'hideIfEmpty' => true,
342 341 ];
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 + }
343 353
344 354 $this->categories = array_merge(
345 355 [ self::CATEGORY_ATOMIC_ELEMENTS => $this->categories[ self::CATEGORY_ATOMIC_ELEMENTS ] ],
346 356 [ self::CATEGORY_ATOMIC_FORM => $atomic_form_category ],