Reply To: Editing the ‘Oh bother!’ Message
Put this in your child theme’s function file – or use
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'old text' ) {
$translated_text = 'new text';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
and change the old text and new text to suit.