I want to remove most of the metaboxes off the editing page for a particular role. One of them is the featured image metabox. In my code I have in a function:
function author_remove_boxes ...
remove_meta_box( 'postimagediv', 'post', 'normal' );
that function is called as such:
add_action('admin_init', 'author_remove_boxes');
Even in the wordpress code I found such:
wp-admin/edit-form-advanced.php: add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', $post_type, 'side', 'low');
However, my featured image metabox is still appearing. All the other boxes I've tried have disappeared. Any thoughts anyone?