PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.5
YayMail – WooCommerce Email Customizer v4.4.5
4.4.6 4.4.5 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 All 57 releases
← All changes | src/Elements/ShippingAddress.php +9 -0 4.4.1 → 4.4.5 View file →
@@ -99,8 +99,15 @@
99 99 'component' => 'Color',
100 100 'title' => __( 'Table border color', 'yaymail' ),
101 101 'default_value' => isset( $attributes['border_color'] ) ? $attributes['border_color'] : YAYMAIL_COLOR_BORDER_DEFAULT,
102 102 'type' => 'style',
103 + 'conditions' => [
104 + 'condition_1' => [
105 + 'attribute' => 'layout_type',
106 + 'comparison' => '!=',
107 + 'value' => 'modern',
108 + ],
109 + ]
103 110 ],
104 111 'font_family' => [
105 112 'value_path' => 'font_family',
106 113 'component' => 'FontFamilySelector',
@@ -112,8 +119,10 @@
112 119 'value_path' => 'title',
113 120 'component' => 'RichTextEditor',
114 121 'title' => __( 'Shipping title', 'yaymail' ),
115 122 'default_value' => isset( $attributes['title'] ) ? $attributes['title'] : ( '<span style="font-size: 20px;font-weight:600;">' . __( 'Shipping Address', 'woocommerce' ) . '</span>' ),
123 + 'text_color_path' => 'title_color',
124 + 'background_color_path' => 'background_color',
116 125 'type' => 'content',
117 126 ],
118 127 'shipping_content_font_size' => ElementsHelper::get_dimension(
119 128 $attributes,