I am following this example here Profile plugin
to create my own profile plugin. What I can't figure out is how to make a field admin only?
In the original customer / profile there are fields like language or default editor. They can be disabled via ' Frontend User Parameters' on/off.
How do I create such a field? Visible to ADMIN only, not to the user.
There are parameters like name="register-require_myfield", are their any to disable a field for registration, or profile?
I can't find anything about this problem online, what am I missing ?
EDIT: This is Joomla 3.2+