Re: Unhide Profile Email Adresses
Ashish Kumar (Ashfame)
Using the plugin to change roles of a member is overkill in my opinion. I am not in favor of hacking core files either. My method of adding a check for user logged in & then spitting out the code should be enough for the required functionality. Along with a user logged in check it should also check if current user is not an admin so that email addresses are not repeated for admins.
I put your code in functions.php and it didn’t seem to work.
With a normal user on my test setup, I wasn’t able to see the admin’s email id