Customizing customer processing emails notification in WooCommerce
|Added at||2017-01-04 23:01|
I am very new to WordPress, and have created an e-commerce store with WooCommerce.
After the customer places an order, I get an email and the customer get an email- one for me to say what they have ordered, and one to them as a thank you email.
Within this thank you email, in my functions.php file, I have learned to change the subject of the header to include their name such as this:
The code snippet above works correctly, and is only displayed to the customer, not to me. e.g. "thanks for your order ABCD Clothes order John!". Within the body of the email, I am trying to make this personal as a small thank you message, however, when I make the message, I am using the hook:
I know that since im using the
I was wondering, is there a hook that Woocommerce provides so that the custom function will only be sent to the customer within the body of the email?