I’m using WordPress 3.1. I need to forbid users to change their first, last and screen names in their profile, but admin must still have this possibility. How can I do that?
Leave a Reply
You must be logged in to post a comment.
I’m using WordPress 3.1. I need to forbid users to change their first, last and screen names in their profile, but admin must still have this possibility. How can I do that?
You must be logged in to post a comment.
This is only an ideea … : you can use validate_username filter, then check if the current logged in user is admin, if not then return false if a user is logged in . Same would apply for the user last and screen names .