Anyone know if it’s possible hide a single field within a post editor metabox that contains multiple fields based on user role?
I have a metabox with 4 fields, 3 of which authors can see/set/edit, but one I want only admins to be able to edit.
It’d be ok if the field was just completely hidden from Authors, but I’m ok with just hiding the field completely.
I’ve thought I could put the field in a separate metabox, but would rather keep it all together.
- The topic ‘Hide one field within metabox based on user role?’ is closed to new replies.