Skip to content

Commit df3b8ed

Browse files
committed
v2.9.2
1 parent 45ca924 commit df3b8ed

File tree

3 files changed

+297
-147
lines changed

3 files changed

+297
-147
lines changed

changelog.txt

+288
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,288 @@
1+
== Changelog ==
2+
3+
= 2.9.2 - 01/03/2024 =
4+
* Readme.txt - Changelog - Truncated (full changelog moved to the `changelog.txt` file).
5+
* Readme.txt - Tags - `woo commerce` tag removed.
6+
7+
= 2.9.1 - 29/02/2024 =
8+
* Dev - Developers - `alg_wc_custom_emails_delay_start_time` filter added.
9+
* Dev - Developers - `alg_wc_custom_emails_email_sent` action added.
10+
* Dev - Developers - `alg_wc_custom_emails_exclude_recipients` filter added.
11+
* Dev - Code refactoring.
12+
13+
= 2.9.0 - 21/02/2024 =
14+
* Dev - Order Options - Require/Exclude order status - "WooCommerce Subscriptions" statuses added.
15+
* Dev - Shortcodes - `[order_checkout_payment_url]` shortcode added.
16+
* Dev - Send email - Now trying to get object ID with the `get_id()` method (e.g., for "WooCommerce Subscriptions" status update hooks).
17+
* Typos fixed in the plugin description section in readme.txt.
18+
* WC tested up to: 8.6.
19+
20+
= 2.8.1 - 15/02/2024 =
21+
* Dev - Shortcodes - `[order_billing_email]` shortcode added.
22+
* Dev - Shortcodes - `[order_billing_phone]` shortcode added.
23+
24+
= 2.8.0 - 29/01/2024 =
25+
* Dev - Order Options - "Require order status" option added.
26+
* Dev - Order Options - "Exclude order status" option added.
27+
* Dev - Debug - "Current filter" added to the "Triggered" log message.
28+
29+
= 2.7.3 - 11/01/2024 =
30+
* Dev - Advanced Options - "Stop emails" option added.
31+
32+
= 2.7.2 - 09/01/2024 =
33+
* Dev - Shortcodes - `[order_billing_first_name]` shortcode added.
34+
* Dev - Shortcodes - `[order_billing_last_name]` shortcode added.
35+
* Dev - Shortcodes - `[order_customer_note]` shortcode added.
36+
* Dev - Shortcodes - Developers - `alg_wc_custom_emails_shortcode_prefix` filter added.
37+
* Dev - Shortcodes - Code refactoring.
38+
* WC tested up to: 8.5.
39+
40+
= 2.7.1 - 21/12/2023 =
41+
* Dev - Email Data - "Email style" option added.
42+
* Dev - Code refactoring.
43+
44+
= 2.7.0 - 19/12/2023 =
45+
* Dev - General - "Scheduler" option added (defaults to "WP Cron").
46+
47+
= 2.6.3 - 18/12/2023 =
48+
* Readme.txt file error fixed.
49+
50+
= 2.6.2 - 18/12/2023 =
51+
* Readme.txt file updated.
52+
53+
= 2.6.1 - 14/12/2023 =
54+
* Dev - Shortcodes - `[if]` - `case_insensitive` attribute added.
55+
* Dev - Shortcodes - `[if]` - `operator` - `find` and `not_find` operators added.
56+
* WC tested up to: 8.4.
57+
58+
= 2.6.0 - 30/11/2023 =
59+
* Dev - Triggers - Extra - "Product published" and "Product updated" triggers added.
60+
* Dev - Shortcodes - `[product_func]` shortcode added.
61+
* Dev - Code refactoring.
62+
63+
= 2.5.0 - 22/11/2023 =
64+
* Dev - Order Options - "Require users" option added.
65+
* Dev - Order Options - "Exclude users" option added.
66+
* Dev - Order Options - "Require user roles" option added.
67+
* Dev - Order Options - "Exclude user roles" option added.
68+
* Dev - Code refactoring.
69+
70+
= 2.4.0 - 17/11/2023 =
71+
* Dev - General - Advanced Options - "Use actions for WC email template" option removed (now always using actions).
72+
* Dev - Email Data - "WC email template" option renamed to "Header & footer". Now the option is applied to "Plain text" emails as well.
73+
* Dev - Using overridable email templates now.
74+
* Dev - Code refactoring.
75+
* Dev - Developers - `alg_wc_custom_emails_get_wc_email_template_part` filter removed.
76+
* Tested up to: 6.4.
77+
* WC tested up to: 8.3.
78+
79+
= 2.3.0 - 03/11/2023 =
80+
* Fix - Admin Options - Admin actions - Orders > Bulk actions - HPOS compatibility (`wc-orders` page).
81+
* WC tested up to: 8.2.
82+
83+
= 2.2.9 - 25/09/2023 =
84+
* WC tested up to: 8.1.
85+
* Plugin icon, banner updated.
86+
87+
= 2.2.8 - 17/08/2023 =
88+
* Dev - Developers - `alg_wc_custom_emails_is_enabled` filter - `$do_force_send` parameter added.
89+
90+
= 2.2.7 - 16/08/2023 =
91+
* Fix - Declaring HPOS compatibility for the free plugin version, even if the Pro version is activated.
92+
* Dev - General - "Base dir" option added (defaults to "WP root directory"). Affects the "Email attachments" options.
93+
* Dev - Debug - Email attachments info added.
94+
95+
= 2.2.6 - 09/08/2023 =
96+
* Dev - Admin settings - Delay - Description updated.
97+
* Tested up to: 6.3.
98+
* WC tested up to: 8.0.
99+
100+
= 2.2.5 - 04/08/2023 =
101+
* Dev - Shortcodes - `[user_prop]` shortcode added.
102+
* Dev - Developers - `alg_wc_custom_emails_is_user_email` filter - `current_filter()` parameter added.
103+
104+
= 2.2.4 - 03/08/2023 =
105+
* Dev - Shortcodes - `[order_item_meta]` shortcode added.
106+
107+
= 2.2.3 - 18/07/2023 =
108+
* Dev - "High-Performance Order Storage (HPOS)" compatibility.
109+
* Dev - Developers - `alg_wc_custom_emails_subject` filter added.
110+
* Dev - Developers - `alg_wc_custom_emails_content` filter added.
111+
* WC tested up to: 7.9.
112+
113+
= 2.2.2 - 18/07/2023 =
114+
* Dev - Developers - `alg_wc_custom_emails_do_send_order_email` filter added.
115+
116+
= 2.2.1 - 28/06/2023 =
117+
* Dev - Shortcodes - `[order_payment_method_id]` shortcode added.
118+
119+
= 2.2.0 - 22/06/2023 =
120+
* Dev - Order Options - "Require payment gateways" option added.
121+
* Dev - Order Options - "Exclude payment gateways" option added.
122+
* Dev - Order Options - "Require shipping methods" option added.
123+
* Dev - Order Options - "Exclude shipping methods" option added.
124+
* Dev - General - Advanced Options - "Use actions for WC email template" option added (defaults to `no`).
125+
* Dev - Developers - `alg_wc_custom_emails_get_wc_email_template_part` filter added.
126+
127+
= 2.1.0 - 18/06/2023 =
128+
* Fix - Admin settings - "Shortcodes" link fixed in the "placeholder text".
129+
* Dev - General - "Enable plugin" option removed.
130+
* Dev - General - "Custom triggers" option added.
131+
* Dev - Shortcodes - `[if]` - `operator` - `in` and `not_in` operators added.
132+
* Dev - Shortcodes - `[order_item_product_ids]` shortcode added.
133+
* Dev - Shortcodes - `[order_downloads]` shortcode added.
134+
* Dev - Shortcodes - `[order_user_data]` shortcode added. E.g., `[order_user_data key="user_nicename"]`.
135+
* Dev - Shortcodes - `[order_user_id]` shortcode added.
136+
* Dev - Developers - `alg_wc_ce_send_email()` function added.
137+
* Dev - Developers - `alg_wc_custom_emails_check_order_products` filter added.
138+
* Dev - Developers - `alg_wc_custom_emails_check_order_product_terms` filter added.
139+
* Dev - Code refactoring.
140+
* WC tested up to: 7.8.
141+
142+
= 2.0.0 - 09/05/2023 =
143+
* Dev - Code refactoring - `Alg_WC_Custom_Email` class.
144+
* WC tested up to: 7.6.
145+
146+
= 1.9.7 - 13/04/2023 =
147+
* Fix - Email Data - Email attachments - Handling empty option value properly now.
148+
149+
= 1.9.6 - 10/04/2023 =
150+
* Dev - Advanced Options - "Exclude recipients" option added.
151+
* Dev - Admin Settings - Minor option titles, descriptions, style update.
152+
153+
= 1.9.5 - 05/04/2023 =
154+
* Dev - Scheduled - "Unschedule email" (i.e., "Delete") buttons added.
155+
* Dev - Developers - `alg_wc_custom_emails_do_send` filter added.
156+
157+
= 1.9.4 - 05/04/2023 =
158+
* Fix - Admin Options - Admin actions - Empty value fixed.
159+
160+
= 1.9.3 - 31/03/2023 =
161+
* Dev - Shortcodes - `[order_details]` - Now passing the email object to the `WC_Emails::order_details()` function.
162+
163+
= 1.9.2 - 31/03/2023 =
164+
* Dev - Email Data - "Email attachments" option added.
165+
* Tested up to: 6.2.
166+
167+
= 1.9.1 - 23/03/2023 =
168+
* Dev - WPML/Polylang language - Order language detection algorithm improved.
169+
* Dev - WPML/Polylang language - Admin option renamed (was "Require WPML language").
170+
* Dev - WPML/Polylang language - Code moved to the `Alg_WC_Custom_Email_Order_Validator` class.
171+
* WC tested up to: 7.5.
172+
173+
= 1.9.0 - 08/03/2023 =
174+
* Dev - Admin Options - Admin actions - "Orders > Preview" option added.
175+
* Dev - Admin Options - Admin actions - "Orders > Actions column" option added.
176+
* Dev - Admin Options - Admin actions - Code refactoring.
177+
* Dev - Developers - `alg_wc_custom_emails_order_product_term_ids` filter added.
178+
179+
= 1.8.0 - 08/03/2023 =
180+
* Dev - Admin Options - "Admin actions" option added (defaults to "Edit order > Order actions" and "Orders > Bulk actions").
181+
* Dev - Admin Options - Admin settings rearranged ("Settings Tools" subsection added).
182+
* Dev - Order Options - Require/Exclude product categories/tags - Listing empty categories/tags as well now.
183+
* Dev - Order Options - "Logical operator" option added (defaults to `AND`).
184+
* Dev - Order Options - Code refactoring (`Alg_WC_Custom_Email_Order_Validator` class added).
185+
* Dev - Shortcodes - `[if]` - Code refactoring.
186+
* Dev - Compatibility - "Email Customizer for WooCommerce (Pro)" by ThemeHigh - PHP notice (regarding calling the `wc_get_product()` function too early) fixed.
187+
* WC tested up to: 7.4.
188+
189+
= 1.7.2 - 26/01/2023 =
190+
* Dev - Admin Options - "Copy settings" tool added.
191+
* Dev - Admin Options - "Reset settings" tool added.
192+
* Dev - Shortcodes - `[generate_coupon_code]` - Coupon description (`post_excerpt`) updated.
193+
194+
= 1.7.1 - 21/01/2023 =
195+
* Dev - Order Options - Require/Exclude products - Now using AJAX in admin settings.
196+
* WC tested up to: 7.3.
197+
198+
= 1.7.0 - 24/12/2022 =
199+
* Dev - Email Data - "Require WPML language" option added.
200+
* Dev - Shortcodes - `[translate]` shortcode added (for WPML and Polylang plugins).
201+
202+
= 1.6.0 - 21/12/2022 =
203+
* Dev - Order Options - "Require product categories" option added.
204+
* Dev - Order Options - "Exclude product categories" option added.
205+
* Dev - Order Options - "Require product tags" option added.
206+
* Dev - Order Options - "Exclude product tags" option added.
207+
* Dev - Admin settings rearranged; subsection titles added.
208+
* Dev - Code refactoring.
209+
* Deploy script added.
210+
* Tested up to: 6.1.
211+
* WC tested up to: 7.2.
212+
213+
= 1.5.5 - 06/10/2022 =
214+
* WC tested up to: 6.9.
215+
* Readme.txt updated.
216+
217+
= 1.5.4 - 12/09/2022 =
218+
* Dev - Shortcodes - `[order_details]` - `plain_text` and `sent_to_admin` attributes added (both default to `no`).
219+
* WC tested up to: 6.8.
220+
221+
= 1.5.3 - 20/07/2022 =
222+
* Dev - Triggers - "Subscription status updated" trigger groups added ("WooCommerce Subscriptions" plugin).
223+
* WC tested up to: 6.7.
224+
225+
= 1.5.2 - 30/06/2022 =
226+
* Fix - Settings - Trigger(s) - "Extra" triggers were not added to the list. This is fixed now.
227+
* Dev - Developers - `alg_wc_custom_emails_is_enabled` filter added.
228+
* WC tested up to: 6.6.
229+
* Tested up to: 6.0.
230+
231+
= 1.5.1 - 01/08/2021 =
232+
* Fix - Error on WooCommerce Analytics page fixed.
233+
234+
= 1.5.0 - 01/08/2021 =
235+
* Fix - Shortcodes - `[order_shipping_total]` shortcode fixed.
236+
* Fix - Shortcodes - `[order_shipping_method]` shortcode fixed.
237+
* Fix - Shortcodes - `[order_payment_method_title]` shortcode fixed.
238+
* Dev - General - "Enabled triggers groups" option added.
239+
* Dev - Triggers - "Subscriptions: Renewal order" trigger groups added.
240+
* Dev - Shortcodes - `[order_item_names]` shortcode added.
241+
* Dev - Debug - More info is added to the log now.
242+
243+
= 1.4.1 - 28/07/2021 =
244+
* Dev - Escaping all output now.
245+
246+
= 1.4.0 - 27/07/2021 =
247+
* Dev - All user input is properly sanitized now.
248+
* Dev - Localisation - `load_plugin_textdomain()` is called on `init` action now.
249+
* Dev - Code refactoring.
250+
* Tested up to: 5.8.
251+
* WC tested up to: 5.5.
252+
* Free plugin version released.
253+
254+
= 1.3.1 - 05/04/2021 =
255+
* Dev - Email content - "Default content" button added.
256+
* Dev - Settings - Link to each email settings added.
257+
* Dev - Email settings - Triggers list rearranged; settings descriptions updated.
258+
* Dev - Code refactoring.
259+
260+
= 1.3.0 - 30/03/2021 =
261+
* Dev - "Delay" options added (including "Scheduled" section).
262+
* Dev - Now always adding order note when sending an email.
263+
* Dev - Debug - More info added.
264+
* Dev - Code refactoring.
265+
266+
= 1.2.1 - 22/03/2021 =
267+
* Dev - "Send email: ..." actions added to the "Bulk actions" select box in admin "Orders" list.
268+
* Dev - Code refactoring.
269+
270+
= 1.2.0 - 19/03/2021 =
271+
* Dev - "Minimum order amount" option added.
272+
* Dev - "Maximum order amount" option added.
273+
* Dev - "Require order product(s)" option added.
274+
* Dev - "Exclude order product(s)" option added.
275+
* Dev - General - Advanced - "Debug" option added.
276+
* Dev - Settings - Minor descriptions update.
277+
* WC tested up to: 5.1.
278+
* Tested up to: 5.7.
279+
280+
= 1.1.0 - 07/10/2020 =
281+
* Dev - `[generate_coupon_code]` shortcode added.
282+
* Dev - Trigger - `alg_wc_custom_emails_is_user_email` filter added.
283+
* Dev - Settings - Minor descriptions update.
284+
* WC tested up to: 4.5.
285+
* Tested up to: 5.5.
286+
287+
= 1.0.0 - 21/01/2020 =
288+
* Initial Release.

custom-emails-for-woocommerce.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Additional Custom Emails for WooCommerce
44
Plugin URI: https://wpfactory.com/item/custom-emails-for-woocommerce/
55
Description: Add custom emails to WooCommerce.
6-
Version: 2.9.1
6+
Version: 2.9.2
77
Author: WPFactory
88
Author URI: https://wpfactory.com
99
Text Domain: custom-emails-for-woocommerce
@@ -30,7 +30,7 @@
3030
}
3131
}
3232

33-
defined( 'ALG_WC_CUSTOM_EMAILS_VERSION' ) || define( 'ALG_WC_CUSTOM_EMAILS_VERSION', '2.9.1' );
33+
defined( 'ALG_WC_CUSTOM_EMAILS_VERSION' ) || define( 'ALG_WC_CUSTOM_EMAILS_VERSION', '2.9.2' );
3434

3535
defined( 'ALG_WC_CUSTOM_EMAILS_FILE' ) || define( 'ALG_WC_CUSTOM_EMAILS_FILE', __FILE__ );
3636

0 commit comments

Comments
 (0)