I am running a club-based wordpress application.
In it has buddypress installed into it.
What I want to do, is add a profile field whose value can only be set by the administrator of the site. I know how to add a custom field, but the default behavior is to allow the user to set it. I don’t want that.
Can this be done, and if so, how?
Thank you.
Create a template overload of this file:
buddypressbp-templatesbp-legacybuddypressmemberssingleprofileedit.php
Untested, but try changing this:
To this:
Have you checked Advanced Custom Fields? That’s an easy way to add custom fields to the pages you want.
They have some documentation on how to How to Hide ACF Menu from Clients.