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.
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.