Skip to content

Commit

Permalink
FIX: Author email template atg is not working in expiry notification
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjohn22 committed Apr 2, 2024
1 parent 62ce5f6 commit e864b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-job-openings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ public function expiry_notification_handler( $new_status, $old_status, $post ) {

if ( ! empty( $subject ) && ! empty( $content ) ) {
$subject = str_replace( $tag_names, $tag_values, $subject );
$from_email = str_replace( $tag_names, $tag_values, $from_email );
$from_email = str_replace( $email_tag_names, $email_tag_values, $from_email );
$to = str_replace( $email_tag_names, $email_tag_values, $to );
$reply_to = str_replace( $email_tag_names, $email_tag_values, $reply_to );
$cc = str_replace( $email_tag_names, $email_tag_values, $cc );
Expand Down

0 comments on commit e864b82

Please sign in to comment.