Currently I have this code in my function file:
// REMOVE POST META BOXES
function my_remove_meta_boxes() {
if ( ! current_user_can('administrator') ) {
remove_meta_box( 'tagsdiv-post_tag', 'post', 'advanced' );
remove_meta_box( 'postimagediv', 'post', 'advanced' );
}
}
add_action( 'admin_menu', 'my_remove_meta_boxes' );
And the tags meta box has been disabled, but not the featured image box. I've looked elsewhere in my functions to see if anything is making it appear again but I cannot seem to find anything.
Is there perhaps something I am missing elsewhere?