Reply To: Disable elements

Home Forums Support Disable elements Reply To: Disable elements

Lead Developer
Lead Developer

Hi there,

Currently the metaboxes are only viewable to users with the edit_theme_options capability:

You can change this using a filter like this:

add_filter( 'generate_metabox_capability', function() {
      return 'edit_theme_options';
} );

Just replace edit_theme_options with the capability you wish to use, listed at the URL I posted above.

Adding PHP: