← All changes
|
modules/promotions/widgets/atomic-form-widget-promotion.php
+3
-2
4.2.0-beta1
→
4.3.2
View file →
| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Elementor\Modules\Promotions\Widgets; |
| 4 | 4 | |
| 5 | 5 | use Elementor\Plugin; |
| 6 | -use Elementor\Utils; | |
| 7 | 6 | |
| 8 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 8 | exit; |
| 10 | 9 | } |
| @@ -29,8 +28,9 @@ | ||
| 29 | 28 | } |
| 30 | 29 | |
| 31 | 30 | $settings['atomicWidgetPromotions'][] = [ |
| 32 | 31 | 'type' => 'atomic-form', |
| 32 | + 'cardType' => 'atomic', | |
| 33 | 33 | 'widgets' => $this->get_widgets(), |
| 34 | 34 | 'content' => $this->get_promotion_content(), |
| 35 | 35 | ]; |
| 36 | 36 | |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | private function get_widgets(): array { |
| 41 | 41 | return [ |
| 42 | 42 | [ |
| 43 | 43 | 'name' => 'e-form', |
| 44 | - 'title' => __( 'Form', 'elementor' ), | |
| 44 | + 'title' => __( 'Atomic Form', 'elementor' ), | |
| 45 | 45 | 'icon' => 'eicon-atomic-form', |
| 46 | 46 | 'categories' => '["atomic-form"]', |
| 47 | 47 | ], |
| 48 | 48 | [ |
| @@ -82,8 +82,9 @@ | ||
| 82 | 82 | return [ |
| 83 | 83 | 'title' => __( 'Atomic form', 'elementor' ), |
| 84 | 84 | 'content' => __( 'Design fully customized forms to capture leads without compromising on style.', 'elementor' ), |
| 85 | 85 | 'ctaText' => __( 'Upgrade now', 'elementor' ), |
| 86 | + 'animation' => 'atomic-form-animation', | |
| 86 | 87 | 'widgetCtaUrl' => 'https://go.elementor.com/go-pro-atomic-form-modal/', |
| 87 | 88 | 'sectionCtaUrl' => 'https://go.elementor.com/go-pro-atomic-form-section/', |
| 88 | 89 | ]; |
| 89 | 90 | } |