wordpress snippets last updated   : July 14, 2014
we now have 634 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' );

jqsnipp.com | we just launched jquery snippets website