How to Completely Disable and Remove WooCommerce Product Tags

Product tags are a flexible WooCommerce taxonomy that let store managers attach keyword-style labels to products. WooCommerce does not provide a built-in switch to disable them completely, but if a store does not need tags, they can be removed cleanly with code.

Remove the “Products → Tags” submenu

The first step is to remove the product tag management link from the WordPress admin menu. remove_submenu_page() makes that easy:

add_action('admin_menu', function () {
    remove_submenu_page(
        'edit.php?post_type=product',
        'edit-tags.php?taxonomy=product_tag&post_type=product'
    );
}, 9999);

Remove the product tag metabox

Next, remove the tag metabox from the product edit screen:

add_action('admin_menu', function () {
    remove_meta_box('tagsdiv-product_tag', 'product', 'side');
});

Remove the tag column from the product list table

You can also strip the tag column from the product list screen:

add_filter('manage_product_posts_columns', function ($product_columns) {
    unset($product_columns['product_tag']);
    return $product_columns;
}, 999);

Remove product tags from quick edit and bulk edit

Many users add tags through the quick edit interface, so removing that field is an important part of fully disabling the feature.

add_filter('quick_edit_show_taxonomy', function ($show, $taxonomy_name) {
    if ('product_tag' === $taxonomy_name) {
        $show = false;
    }

    return $show;
}, 10, 2);

Remove the product tag cloud widget

Finally, unregister the WooCommerce tag cloud widget so the UI stays cleaner and the feature is removed consistently:

add_action('widgets_init', function () {
    unregister_widget('WC_Widget_Product_Tag_Cloud');
});

Add the snippets above to your theme’s functions.php file or to a related plugin file. After that, product tags are effectively removed from WooCommerce’s user interface.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *