Snippet: Remove Staff Meta Settings & Image Gallery
// Remove staff settings metabox
add_filter( 'wpex_main_metaboxes_post_types', function( $types ) {
unset( $types['staff'] );
return $types;
}, 40 );
// Remove staff gallery
add_filter( 'wpex_gallery_metabox_post_types', function( $types ) {
$types = array_combine( $types, $types );
unset( $types['staff'] );
return $types;
}, 40 );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)