This file contains hidden or 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
function change_reg_message($message) | |
{ | |
// change messages that contain 'Register' | |
if (strpos($message, 'Register') !== FALSE) { | |
$newMessage = "Hello! We're so excited to have you as a member! Just enter a username and your email, and we'll have you squared away in no time."; | |
return '<p class="message register">' . $newMessage . '</p>'; | |
} | |
else { | |
return $message; | |
} |