Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Enforce field visibility except for admin

@henrywright

Moderator

Hi Jo

Just wanted to point out if you have network mode enabled, is_super_admin() won’t catch normal administrators.

Instead, you can use current_user_can( 'manage_options' ). That’ll catch admins if network mode isn’t enabled and both admins and super-admins if network mode is enabled.

Skip to toolbar