From 2c84f58ac07e357055b94093c6a366f299bf0f29 Mon Sep 17 00:00:00 2001 From: The Pocket 006 <41385651+ThePocket006@users.noreply.github.com> Date: Thu, 1 Apr 2021 15:59:46 +0200 Subject: [PATCH] Update class-haet-mail.php Add do_shortcode on template --- includes/class-haet-mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-haet-mail.php b/includes/class-haet-mail.php index 9327dc4..4ef07c6 100644 --- a/includes/class-haet-mail.php +++ b/includes/class-haet-mail.php @@ -826,7 +826,7 @@ public function get_template($options){ $value=($value==1?'underline':'none'); $template = str_replace('###'.$option.'###', $value, $template); } - return $template; + return do_shortcode($template); } @@ -1054,4 +1054,4 @@ function Haet_Mail() Haet_Mail(); -?> \ No newline at end of file +?>