Add code to email
-
Hi
This code below will send a BCC:
add_filter( 'woocommerce_email_headers', 'firefog_headers_filter_function', 10, 2); function firefog_headers_filter_function( $headers, $object ) { if ($object == 'new_order') { $headers .= 'BCC: NAME <name@domain.com>' . "\r\n"; } return $headers; }But how can i apply the below code to the BCC email?
<script type="application/json+trustpilot"> { "recipientName": "Dynamic code...", "recipientEmail": "Dynamic code...", "referenceId": "Dynamic code...", "locale": "Dynamic code..." } </script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add code to email’ is closed to new replies.