PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.3
YayMail – WooCommerce Email Customizer v4.3.3
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
← All changes | src/Elements/ColumnLayout.php +0 -40 trunk4.3.3 View file →
@@ -1,9 +1,8 @@
1 1 <?php
2 2 namespace YayMail\Elements;
3 3
4 4 use YayMail\Abstracts\BaseElement;
5 -use YayMail\Constants\AttributesData;
6 5 use YayMail\Utils\SingletonTrait;
7 6
8 7 /**
9 8 * Column Elements
@@ -46,36 +45,8 @@
46 45 'min' => 0,
47 46 'max' => 100,
48 47 'type' => 'style',
49 48 ],
50 - 'responsive_on_mobile' => [
51 - 'value_path' => 'responsive_on_mobile',
52 - 'component' => 'Switcher',
53 - 'title' => __( 'Responsive on mobile', 'yaymail' ),
54 - 'default_value' => isset( $attributes['responsive_on_mobile'] ) ? (bool) $attributes['responsive_on_mobile'] : false,
55 - 'type' => 'content',
56 - ],
57 - 'vertical_align' => [
58 - 'value_path' => 'vertical_align',
59 - 'component' => 'Selector',
60 - 'title' => __( 'Vertical align', 'yaymail' ),
61 - 'default_value' => isset( $attributes['vertical_align'] ) ? $attributes['vertical_align'] : 'top',
62 - 'options' => [
63 - [
64 - 'label' => __( 'Top', 'yaymail' ),
65 - 'value' => 'top',
66 - ],
67 - [
68 - 'label' => __( 'Middle', 'yaymail' ),
69 - 'value' => 'middle',
70 - ],
71 - [
72 - 'label' => __( 'Bottom', 'yaymail' ),
73 - 'value' => 'bottom',
74 - ],
75 - ],
76 - 'type' => 'style',
77 - ],
78 49 'container_setting_breaker' => [
79 50 'component' => 'LineBreaker',
80 51 ],
81 52 'container_setting_group_definition' => [
@@ -94,15 +65,8 @@
94 65 'left' => '0',
95 66 ],
96 67 'type' => 'style',
97 68 ],
98 - 'border' => [
99 - 'value_path' => 'border',
100 - 'component' => 'Border',
101 - 'title' => __( 'Border', 'yaymail' ),
102 - 'default_value' => isset( $attributes['border'] ) ? $attributes['border'] : AttributesData::BORDER_DEFAULT,
103 - 'type' => 'style',
104 - ],
105 69 'border_radius' => [
106 70 'value_path' => 'border_radius',
107 71 'component' => 'BorderRadius',
108 72 'title' => __( 'Border radius', 'yaymail' ),
@@ -160,12 +124,8 @@
160 124 'component' => 'Color',
161 125 'title' => __( 'Inner background color', 'yaymail' ),
162 126 'default_value' => isset( $attributes['inner_background_color'] ) ? $attributes['inner_background_color'] : '#ffffff00',
163 127 'type' => 'style',
164 - ],
165 - 'column_borders' => [
166 - 'component' => 'ColumnBorders',
167 - 'title' => __( 'Column borders', 'yaymail' ),
168 128 ],
169 129 ],
170 130 ];
171 131 }