Skip to content

Instantly share code, notes, and snippets.

@illycz
Created December 16, 2014 11:48
Show Gist options
  • Save illycz/c9c4878a27c5938199ec to your computer and use it in GitHub Desktop.
Save illycz/c9c4878a27c5938199ec to your computer and use it in GitHub Desktop.
Remove content permissions metabox added by Members plugin.
/**
* Remove content permissions metabox added by Members plugin.
*/
function prefix_remove_members_metabox() {
remove_meta_box( 'content-permissions-meta-box', 'post', 'advanced' );
remove_meta_box( 'content-permissions-meta-box', 'page', 'advanced' );
}
add_action( 'add_meta_boxes' , 'prefix_remove_members_metabox', 9999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment