This topic has 3 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Farhad
Hi,
Two years ago, I opened a ticket for custom email templates that were not functioning correctly. I was asked to add the following code to the website, which resolved the problem. I’m now checking again to see if I still need to keep it:
add_filter(‘viwec_accept_email_type’, function($emails) {
$emails[] = ‘failed_renewal_authentication’;
$emails[] = ‘failed_preorder_sca_authentication’;
$emails[] = ‘failed_authentication_requested’;
$emails[] = ‘bis_notification_received’;
$emails[] = ‘bis_notification_confirm’;
return $emails;
});
Thank you!
Hello, Farhad,
Thank you for getting in touch with us.
Yes, please keep it – we have provided a filter for such instances and we do not see the need to add such emails from different plugins globally into theme files. This is because anyone who needs to use our email builder for their custom emails can add a similar filter to their child theme/custom snippets.
Kind Regards,
8theme team
I will keep the code. Thank you very much for your answer!
The issue related to '‘custom email templates with custom codes’' has been successfully resolved, and the topic is now closed for further responses