Remove the Featured Image Meta Box


How can I remove the Featured Image meta box? I’ve tried using the remove_meta_box function and specifying the boxes ID but it doesn’t seem to work like it does for the other native meta boxes.

Here is the specific code I tried:

add_action( 'admin_menu', 'remove_thumbnail_box' );

function remove_thumbnail_box() {
    remove_meta_box( 'postimagediv', 'post', 'side' );
in progress 0
, Matt 11 years 2010-12-06T11:34:41-05:00 0 Answer 79 views 0

Answer ( 1 )


    I haven’t had time to test this but this looks like it should work for you.

    add_action('do_meta_boxes', 'remove_thumbnail_box');
    function remove_thumbnail_box() {
        remove_meta_box( 'postimagediv','post','side' );

    Check this for more info.

    Edit: The main change here is that you need to attach the function to do_meta_boxes instead of admin_menu

Leave an answer