Last active
February 13, 2019 07:17
-
-
Save melvinstanly/c6533b2b83463ef1a4ac2956523c0048 to your computer and use it in GitHub Desktop.
WooCommerce Email Related Codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mailer = WC()->mailer(); | |
$mails = $mailer->get_emails(); | |
$emails = wc()->mailer()->emails; // Contains all WooCommerce email classes with details | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. User password will be shown in email only if the checkbox is ticked for [Generate password on My account page] from | |
woocommerce -> accounts & privacy | |
2. Order placed email to customer will be | |
* Order Processing Email - If payment is completed | |
* On hold Email - If payment is not completed (cod) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment