Show registered users email on check email page?
-
Hey everyone I was wondering if there is a php code to display a registered users email on the confirm email page.
Default one reads
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.
I’d like to have (your address) actually show the email that was registered.
Any documentation will help.
I been using the Kleo theme with BuddyPress, I’m trying to learn php as I go and I tried this following code but it didn’t work.
<?php global $display_name , $user_email;
get_currentuserinfo();echo $display_name . “‘s email address is: ” . $user_email;
?>It appears to work only if I have them login automatically right after registration but the way I have my site set up is they get redirected to the activity feed after logging in and I really don’t want to change that.
The topic ‘Show registered users email on check email page?’ is closed to new replies.