Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Block User

@robin-w

Moderator

It could with some coding, but this message probably applies to many situations eg not logged in

Try this in your function file

//This function changes oldtext to newtext
function rchange_translate_text( $translated_text ) {
	if ( $translated_text == 'oldtext' ) {
	$translated_text = 'newtext'];
	}
	return $translated_text;
}
add_filter( 'gettext', 'rchange_translate_text', 20 );

where old text is the old text, and new text the new.

If you have more than one of these functions (seem to think I have given you this solution for another part), then just make sure the function name is unique eg this ones called rchange… so next time maybe call it schange… and change it in first and last lines to match.

Skip to toolbar