Is it possible to add permissions on specific fields?
For example, lets say I have a template that has three custom fields on it and I only want one of the fields editable by a certain role? Is that possible?
This is perfect, thank you.
Hi, you can use this filter: https://www.advancedcustomfields.com/resources/acf-prepare_field/
set $field['disabled'] = 1;
by checking user’s role, restrict user from editing the field.
(Note: user still can edit after removing disabled="disabled"
in developer console)
better yet, return false
.
I’d like to know too… 10x