Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_em_text_rewrites($translation, $orig) {
- switch ($orig) {
- case 'The email address isn’t correct.' :
- $translation = 'The email address should not be empty: ';
- break;
- case '<strong>ERROR</strong>: The email address isn’t correct.' :
- $translation = '<strong>ERROR</strong>: The email address should not be empty. ';
- break;
- }
- return $translation;
- }
- add_action ( 'gettext', 'my_em_text_rewrites', 1, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement