Don’t send automatic email when creating gift card code
-
As I understand, a gift card code is not created until the shop owner sets its related order to Processing or Complete. Am I right? When this happens, a notification email with this code is sent to the recipient of the gift card.
My question is, is there a way to create the gift card code without sending this email automatically?
I’ve added the following code to my
functions.php
file:add_filter( 'ywgc_send_gift_card_code_by_default', '__return_false' );
but the email is sent anyway.
Is there a way to really prevent the sending of these emails when creating gift card codes?
Thanks in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Don’t send automatic email when creating gift card code’ is closed to new replies.