How to send a copy of the gift template to other’s email id or to admin as well?

For sending the copy of the gift card template you can use the following code in functions.php in your theme.



function wps_wgm_send_email( $send_subject, $message, $attachments ) {

$headers = array( 'Content-Type: text/html; charset=UTF-8' );

wc_mail( $recipient_email_id, $send_subject, $message, $headers, $attachments );


Was this Helpful ?


Ready to transform how you market your business

Let's get connected for a free consultation