Skip to content

Commit

Permalink
Merge pull request #2400 from QuizandSurveyMaster/CU-864e8yzb2-mailer…
Browse files Browse the repository at this point in the history
…lite-integration

Added hook qsm_send_result_email_before
  • Loading branch information
zubairraeen authored Nov 22, 2023
2 parents 9828d8f + 7b78c86 commit 349dc8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php/classes/class-qsm-emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 349dc8e

Please sign in to comment.