diff --git a/php/classes/class-qsm-emails.php b/php/classes/class-qsm-emails.php index 0132cf5e7..c460f6a6b 100644 --- a/php/classes/class-qsm-emails.php +++ b/php/classes/class-qsm-emails.php @@ -137,7 +137,8 @@ public static function send_emails( $transient_id ) { } } - if ( $show ) { + if ( $show ) { + do_action( 'qsm_send_result_email_before', $response_data, $email['to'], $email_subject, $email_content, $email['replyTo'], $index ); self::send_results_email( $response_data, $email['to'], $email_subject, $email_content, $email['replyTo'], $index ); } } else {