Admin access only to custom field

Hi Guys,

I created a custom field using custompress and I urgently need to limit access to admin only. Is there a way to do this?

Thanks!

  • Philip John
    • DEV MAN’s Apprentice

    Hiya!

    WordPress doesn’t split anything within the post edit screen into separate user roles except image uploads so I’m afraid you would not be able to hide the custom fields section based on user role.

    You would instead need to have something custom developed in order to achieve this.

    Phil

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.