Woocommerce emails
-
Trying to get woocommerce email add_filter to work.
Doesn’t seem to work with WP Mail SMTP. How can I fix this?following code added into my functions.php file
add_filter( 'woocommerce_email_from_address', function( $from_email, $wc_email ){ if( $wc_email->id == 'customer_new_account' || $wc_email->id == 'customer_note' || $wc_email->id =='new_order') $from_email = '[email protected]'; return $from_email; }, 10, 2 );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Woocommerce emails’ is closed to new replies.