diff --git a/includes/admin/class-wc-admin.php b/includes/admin/class-wc-admin.php index f132a43f0fa..9f1c51ebb5f 100644 --- a/includes/admin/class-wc-admin.php +++ b/includes/admin/class-wc-admin.php @@ -180,7 +180,7 @@ class WC_Admin { $email = new WC_Email(); // wrap the content with the email template and then add styles - $message = $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ); + $message = apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ); // print the preview email echo $message;