Created
November 27, 2018 15:10
-
-
Save KaineLabs/8f8a60704c44056bcb6a15c6126f6bf4 to your computer and use it in GitHub Desktop.
Change Activation Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 ); |
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
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