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.
Remove Product Tags from Products Post Type in WooCommerce
Related Posts
Related Posts
ACF apache archive beaver beaver builder beaver theme beaver themer bootstrap cache category checkout cpt css customizer filter flexbox form genesis header homebrew htaccess iconfonts image javascript jquery loop markup menu mysql php repeater runcloud search filter pro serverpilot shortcode slider taxonomy template twentytwelve ubuntu UI/UX while widget woocommerce wp-cli
Donate
If you found something that helped you out and would like to make a donation, that's great, click below
2 comments
Jay
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; }’;
}
}
Anik Nag
Very helpful! Thanks.