Support » Plugin: WordPress Email Template Designer - WP HTML Mail » Disabling the Email template for particular mail affects shortcode inside mail

  • Resolved ripitgovind

    (@ripitgovind)


    Hi,
    I have disabled the Email template with the below code.
    And am using shortcode inside the message body which is not working after inserting this code.

    add_filter( 'haet_mail_use_template', 'disable_email_template_by_subject', 10, 2 );
    function disable_email_template_by_subject( $use_template, $email ){
        if( stripos( $email['subject'], 'Customized demo from LateShipment.com' ) !== false )
          $use_template = false;
      return $use_template;
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support juliangk

    (@juliangk)

    Hello ripitgovind,

    did the shortcodes work before using our plug-In, or do they work when you deactivate the plug-in?

    Best regards
    Julian

    Plugin Support juliangk

    (@juliangk)

    Hello ripitgovind,

    as you haven’t responded in quite some time I will mark this thread as resolved.
    Please open a new thread if you have any further issues.

    Best regards
    Julian

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.