wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Remove custom fields metabox

wordpress snippet

Adding this PHP code to your functions.php of your wordpress theme will remove the custom fields metabox from pages within your wordpress admin.

snippet :  PHPcopy
function remove_default_page_screen_metaboxes() {
       remove_meta_box( 'postcustom','post','normal' ); 

Did you like this post? If so please share it with your friends. Thanks!