Created
December 16, 2014 11:48
-
-
Save illycz/c9c4878a27c5938199ec to your computer and use it in GitHub Desktop.
Remove content permissions metabox added by Members plugin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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