PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.3
YayMail – WooCommerce Email Customizer v4.3.3
4.4.7 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 All 58 releases
← All changes | src/Elements/OrderDetailsDownload.php +0 -6 4.4.6 → 4.3.3 View file →
@@ -16,12 +16,8 @@
16 16
17 17 protected static $type = 'order_details_download';
18 18
19 19 protected function __construct() {
20 - if ( ! yaymail_is_wc_installed() ) {
21 - $this->available_email_ids = [];
22 - return;
23 - }
24 20 $this->available_email_ids = [
25 21 CustomerCompletedOrder::get_instance()->get_id(),
26 22 CustomerProcessingOrder::get_instance()->get_id(),
27 23 ];
@@ -116,10 +112,8 @@
116 112 'value_path' => 'title',
117 113 'component' => 'RichTextEditor',
118 114 'title' => __( 'Title', 'yaymail' ),
119 115 'default_value' => isset( $attributes['title'] ) ? $attributes['title'] : '<span style="font-size: 20px;font-weight:600;">Downloads</span>',
120 - 'text_color_path' => 'title_color',
121 - 'background_color_path' => 'background_color',
122 116 'type' => 'content',
123 117 ],
124 118 'title_color' => [
125 119 'value_path' => 'title_color',