Skip to content

Instantly share code, notes, and snippets.

@KaineLabs
Created November 27, 2018 15:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaineLabs/8f8a60704c44056bcb6a15c6126f6bf4 to your computer and use it in GitHub Desktop.
Save KaineLabs/8f8a60704c44056bcb6a15c6126f6bf4 to your computer and use it in GitHub Desktop.
Change Activation Message
<?php
// Change Activation Message
function yzc_translate_activation_msg( $translated_text ) {
switch ( $translated_text ) {
case '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 = 'type your new message here';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'yzc_translate_activation_msg', 20 );
@krostom
Copy link

krostom commented Nov 18, 2021

hi,
i have an issue when i try to integrate this snippet.
white page
with

Il y a eu une erreur critique sur ce site.

En apprendre plus sur le débogage de WordPress.

regards
Ross

@KaineLabs
Copy link
Author

hi, i have an issue when i try to integrate this snippet. white page with

Il y a eu une erreur critique sur ce site.

En apprendre plus sur le débogage de WordPress.

regards Ross

This might be because of many reasons, please consider reaching our support at kainelabs.ticksy.com and our team will take a closer look and help you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment