diff --git a/includes/core/class-mail.php b/includes/core/class-mail.php index 14b0de49..7fa1640a 100644 --- a/includes/core/class-mail.php +++ b/includes/core/class-mail.php @@ -107,10 +107,11 @@ if ( ! class_exists( 'Mail' ) ) { function prepare_template( $slug, $args = array() ) { ob_start(); - if ( um_get_option( 'email_html' ) ) { ?> + if ( um_get_option( 'email_html' ) ) { - - + echo apply_filters( 'um_email_template_html_formatting', '', $slug, $args ); + + do_action( 'um_before_email_template_body', $slug, $args ); ?> >