/Advanced-Custom-Fields-Has-Capability

Hide entire field group if current user doesn't have a matching capability

Primary LanguagePHPMIT LicenseMIT

Add a new field type called "ETAC Has Capability". This field is always invisible, but if your current user has a matching capability that you select, then the whole field group will be visible, otherwise, the whole field group will not be presented to the user. Next steps - some extra eyes on security would be helpful. The field can go anywhere in your field group, and since this field is always hidden, it's position is completely up to you.

Version: 1.0.0 Author: Thiti (shinemonkey212@gmail.com) Author URI:

History: The development of this was originally funded by JJ Rohrer.

Depends: Advanced Custom Fields Pro=>http://www.advancedcustomfields.com/

Dependancy Notes: Not tested against the non-pro version of ACF. It might or might not work.

Known Issues:

( ) You can insert this field more than once. The behavior is undefined.

Misc.

  • ETAC is an internal project code name. Elegant Technologies, App Chase.