Commit Graph

130 Commits

Author SHA1 Message Date
Mike Jolley 971f6a3dee Added email for on-hold orders.
Closes #9792
2016-02-08 13:20:19 +00:00
Mike Jolley aa12bed150 Translate during format_string rather than all options
Fixes #10243
2016-02-05 12:44:43 +00:00
Mike Jolley 5bae221b33 Merge pull request #9973 from frozzare/docs/class-wc-email-new-order
Improve docblock comments in WC_Email_New_Order class
2016-01-06 12:25:44 +00:00
Mike Jolley 0b82d67d4c Merge pull request #9974 from frozzare/docs/class-wc-email-failed-order
Improve docblock comments in WC_Email_Failed_Order class
2016-01-06 12:25:38 +00:00
Mike Jolley dc67ec8b07 Merge pull request #9975 from frozzare/docs/class-wc-email-customer-reset-password
Improve docblock comments in WC_Email_Customer_Reset_Password class
2016-01-06 12:25:33 +00:00
Mike Jolley a583b5aa27 Merge pull request #9976 from frozzare/docs/class-wc-email-customer-refunded-order
Improve docblock comments in WC_Email_Customer_Refunded_Order class
2016-01-06 12:25:23 +00:00
Mike Jolley 81cfc5030f Merge pull request #9977 from frozzare/docs/class-wc-email-customer-processing-order
Improve docblock comments in WC_Email_Customer_Processing_Order class
2016-01-06 12:25:13 +00:00
Mike Jolley 867c807fc3 Merge pull request #9978 from frozzare/docs/class-wc-email-customer-invoice
Improve docblock comments in WC_Email_Customer_Invoice class
2016-01-06 12:25:07 +00:00
Mike Jolley 031700b649 Merge pull request #9979 from frozzare/docs/class-wc-email-cancelled-order
Improve docblock comments in WC_Email_Cancelled_Order class
2016-01-06 12:24:59 +00:00
Mike Jolley 0beb86c790 Merge pull request #9980 from frozzare/docs/class-wc-email-customer-completed-order
Improve docblock comments in WC_Email_Customer_Completed_Order class
2016-01-06 12:24:52 +00:00
Mike Jolley 42c2b1d7e9 Merge pull request #9981 from frozzare/docs/class-wc-email-customer-new-account
Improve docblock comments in WC_Email_Customer_New_Account
2016-01-06 12:24:41 +00:00
Mike Jolley a23dd4ab0a Merge pull request #9972 from frozzare/docs/class-wc-email
Improve docblock comments in WC_Email class
2016-01-06 12:24:27 +00:00
Fredrik Forsmo e06d8a2a2f Improve docblock comments in WC_Email class
* Added comments to `handle_multipart`, `format_string`, `get_subject`,
`get_heading`, `get_headers`, `get_attachments`, `get_content_type`,
`get_blogname` and `get_content`
2016-01-05 19:42:18 +01:00
Fredrik Forsmo 12c4e48256 Improve docblock comments in WC_Email_New_Order class
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:38:19 +01:00
Fredrik Forsmo 6a73721611 Improve docblock comments in WC_Email_Failed_Order class
* Added comments to `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:37:34 +01:00
Fredrik Forsmo c60f327e5f Improve docblock comments in WC_Email_Customer_Reset_Password class
* Added better comments to properties.
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:36:44 +01:00
Fredrik Forsmo 5d22c324fa Improve docblock comments in WC_Email_Customer_Refunded_Order class
* Added comments to `set_email_strings`, `trigger_full`,
`trigger_partial`, `get_subject`, `get_heading` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:33:49 +01:00
Fredrik Forsmo e4ec2171e2 Improve docblock comments in WC_Email_Customer_Processing_Order class
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:29:45 +01:00
Fredrik Forsmo 19b049b28b Improve docblock comments in WC_Email_Customer_Note class
* Added comments to properties that don’t have any.
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:28:45 +01:00
Fredrik Forsmo 9f1376185f Improve docblock comments in WC_Email_Customer_New_Account
* Added comments to properties that don’t have any.
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tags to `trigger`
2016-01-05 19:27:27 +01:00
Fredrik Forsmo 726fcbb932 Improve docblock comments in WC_Email_Customer_Invoice class
* Added comments to properties that don’t have any.
* Added comments to `get_subject`, `get_heading`, `get_content_html`
and `get_content_plain`
* Added missing param tag to `trigger`
2016-01-05 19:23:17 +01:00
Fredrik Forsmo 2ba75c59a1 Improve docblock comments in WC_Email_Cancelled_Order class
* Added comments `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:16:21 +01:00
Fredrik Forsmo db773414a8 Improve docblock comments in WC_Email_Customer_Completed_Order class
* Added comments to `get_subject`, `get_heading` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:14:06 +01:00
Mike Jolley 6cb11d5cc0 Use wc_get_template_html 2015-12-04 13:39:57 +00:00
Mike Jolley b5a2c2a9d5 Unify all order email tables to use a single template
Closes #9587

@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Yoni Mazuz 9e5098627c Fix woocommerce_email_from_* filtering
- apply filters before sanitizing
- send entire $this as argument so hooked functions can access any properties of the WC_Email (subclass) instance
2015-11-20 13:00:37 -05:00
Yoni Mazuz afb19228a9 Add filters for From name/address to WC_Email (#9653)
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- these allow return address info to be set conditionally, unlike
wp_mail_from and wp_mail_from_name, which don’t pass any context to
hooked functions
2015-11-19 14:37:50 -05:00
Mike Jolley 1b38f380af Merge remote-tracking branch 'origin/master'
Conflicts:
	includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Mike Jolley 8457dbb57d Display if emails are manually sent 2015-11-03 15:40:10 +00:00
Mike Jolley d95f863d79 Show descriptions inline 2015-11-03 15:04:29 +00:00
Mike Jolley 52553968c5 Use desc_tip for emails 2015-11-03 14:59:48 +00:00
Mike Jolley 3c6a870335 Email class tidyup 2015-11-03 14:57:39 +00:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley 5f65494e27 Restructure emails admin to avoid listing emails along the top
Moves emails to a table on the settings screen.

Also tweaks some section text and moves descriptions to tooltips for a
less cluttered interface.
2015-11-02 16:27:00 +00:00
Mike Jolley 48b93b937f Added admin order/payment failed notification
Closes #8617
2015-11-02 14:45:24 +00:00
Mike Jolley 9ac43ec4d4 Cleanup 2015-11-02 13:02:23 +00:00
Kathy Darling f893d73af6 pass email object to email templates and template hooks 2015-10-31 23:04:59 -05:00
stuartobrien 237acd7e90 consistent code formatting 2015-08-15 01:28:48 +02:00
stuartobrien 3ce5374cd9 fixed - missing attribute $password_generated used in the object but not declared 2015-08-15 01:16:02 +02:00
stuartobrien 6a8742d4d6 change type to boolean 2015-08-15 01:03:18 +02:00
stuartobrien 5a616d86c3 fixed - missing attributes refund and partial_refund are used in the object but are not declared 2015-08-15 00:57:12 +02:00
Mike Jolley f8b539eb5e Improved refund email events and woocommerce_order_fully_refunded hook.
Closes #8793
2015-08-12 19:01:05 +01:00
Mike Jolley 817f8476ac Refund subjects when order contains downloadable product. 2015-08-12 17:50:57 +01:00
Claudio Sanches b091f12393 Fixed some js conding standards 2015-08-05 15:57:15 -03:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Mike Jolley 7d1a016502 Adjust sales report to deal with partial shipping refunds and full refunds 2015-07-01 12:11:21 +01:00
Mike Jolley d0a41989c9 Merge pull request #8451 from slash1andy/patch-1
Changed "pending" to "processing"
2015-06-28 16:48:03 +02:00
Vignesh 1241dcee69 Removed Commented Code 2015-06-25 21:24:05 +05:30
Andrew Wikel 6b5cf56b66 Changed "pending" to "processing"
reflects more accurate order statuses.
2015-06-24 15:57:28 -05:00
Mike Jolley 8dbd30e76b Merge branch 'add-email-notification-for-partial-refunds-issue-8278' 2015-06-22 15:01:17 +01:00