Skip to content

Instantly share code, notes, and snippets.

@sproutventure
Created January 4, 2011 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sproutventure/765414 to your computer and use it in GitHub Desktop.
Save sproutventure/765414 to your computer and use it in GitHub Desktop.
Filter the GBS messages, find a match and change it.
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