So I understand that I can user current_user_can to check the role of the current logged in user. But what I would like to do is show these different fields to the site Admin.
So for example the contributor role may have different custom fields than the subscriber. Each role would see their relative fields but the Admin would see a whole list of all fields in a contributor profile page and subscriber profile page.
Is there a way to allow the admin to only see certain fields of a user profile page?
I hope this makes sense to you out there!
Thanks in advance.