Hey kiddos! It’s been awhile, sorry about that!

Today we have a snippet that can be useful to so many people for different reasons. This one will add a BCC to emails you specify in WooCommerce, and here it is:

The emails you’d like to have the BCC added to are set in the $add_bcc_to array. There are a couple other examples that are already there. 99.9% of the time it’s really easy to get this name from the email settings in WooCommerce. Just go to the email settings for the email you want, then grab everything after _email_ in the address bar. In the below example we want customer_renewal_invoice:

screen-shot-2016-10-31-at-13-25-19

You, of course, need to update your email address, as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

+ thirty one = thirty six