Created
January 4, 2011 21:10
-
-
Save sproutventure/765414 to your computer and use it in GitHub Desktop.
Filter the GBS messages, find a match and change it.
This file contains hidden or 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
add_filter('additional_messages', 'translate_mail_errors', 1); | |
function translate_mail_errors($message) | |
{ | |
$message = str_ireplace( 'Purchase Successful. Now we wait for the deal to end.', 'CHANGE TO WHATEVER', $message ); | |
return $message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment