Custom email templates with custom codes

This topic has 3 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Farhad

  • Avatar: Farhad
    Farhad
    Participant
    August 17, 2023 at 18:40

    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!

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 08:47

    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

    Avatar: Farhad
    Farhad
    Participant
    August 18, 2023 at 16:26

    I will keep the code. Thank you very much for your answer!

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘custom email templates with custom codes’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.