Created
October 26, 2021 15:57
-
-
Save DumahX/508e98b027924c1bb2707949b35d34be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function mepr_change_subject($subject, $recipients, $message, $headers) { | |
if(strpos(strtolower($subject), 'password reset') !== false) { | |
$subject = 'New Subject - Password Reset'; | |
} | |
return $subject; | |
} | |
add_filter('mepr-wp-mail-subject', 'mepr_change_subject', 10, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment