Remove a metabox registered by another plugin – Woocommerce [closed]

A quick search in their GitHub repo shows the following line:

add_meta_box(
    'woocommerce-product-images',
    __( 'Product Gallery', 'woocommerce' ),
    'WC_Meta_Box_Product_Images::output',
    'product',
    'side'
);

So your call to remove_meta_box() uses the right id/handle/name as well as the right priority and context.

The problem just is the hook and the priority at which the hook executes – you have to unregister later than the WooCommerce plugin registers the boxes. Else you try to deregister something that isn’t yet registered.

add_action( 'add_meta_boxes' , 'remove_my_meta_boxes', 40 );
function remove_my_meta_boxes()
{
    remove_meta_box( 'woocommerce-product-images',  'product', 'side');
}