Created
June 20, 2013 02:08
-
-
Save andyknapp/5819800 to your computer and use it in GitHub Desktop.
Remove meta boxes from WP write post screen
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
function ak_custom_meta_box_removal() { | |
remove_meta_box( 'postexcerpt', 'product', 'normal' ); | |
remove_meta_box( 'authordiv', 'product', 'normal' ); | |
remove_meta_box( 'revisionsdiv', 'product', 'normal' ); | |
remove_meta_box( 'slugdiv', 'product', 'normal' ); | |
remove_meta_box( 'mp-meta-download', 'product', 'normal'); | |
} | |
add_action('admin_menu', 'ak_custom_meta_box_removal'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment