Remove Product Tags from Products Post Type in WooCommerce

Here is a great snippet I came across to remove all product tags for the Product Custom Post Type in WooCommerce, it has 4 action/filters to remove the product tag metabox from the products posts, remove the tag column in the dashboard as well as removals in the dashboard menu and quick edit options.

2 Comments

  1. Jay on December 4, 2023 at 2:09 am

    Thanks!

    You can include the following code to remove from Single Product Page as well. For frontend/customers, if you are adding this to a site that already has been using tags prior and needs to hide.

    add_action(‘wp_head’, ‘themeprefix_hide_product_tags_css’);
    function themeprefix_hide_product_tags_css() {
    if (is_product()) {
    echo ‘.single-product .product_meta .tagged_as { display: none; }’;
    }
    }

  2. Anik Nag on March 3, 2021 at 8:53 pm

    Very helpful! Thanks.

Leave all Comment