Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: all users need approval, can I change messages?

@robin-w

Moderator

yes it is buddypress

you can change the text as per below

//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
	if ( $translated_text == 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
' ) {
	$translated_text = 'new text';
	}
	return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );

so just put what you want in place of ‘new text’

Put this in your child theme’s function file – or use

Code Snippets

Skip to toolbar