I needed to add the custom-fields support in order to make use of the Verve Meta Boxes plugin – but didn’t want to show the user/admin the actual custom fields box. The aforementioned fixes doesn’t seem to work with 3.0, but I found a solution which does:
https://www.smashingmagazine.com/2009/12/14/advanced-power-tips-for-wordpress-template-developers-reloaded/
Check out the “Hiding Fields Based on User Role” segment for the solution:
//hook the admin init
add_action('admin_init','customize_meta_boxes');
function customize_meta_boxes() {
remove_meta_box('postcustom','post','normal');
}
Sweet! This also works for custom post types.