Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Supprimer les "Etiquettes produits" (tags) de WooCommerce
<?php
/**
* Faire disparaitre les étiquettes produits (tags) des produits WooCommerce
* Exemple : http://media.mosaika.fr/mcuZ
*/
function msk_unregister_post_tag() {
register_taxonomy('product_tag', array());
}
add_action('init', 'msk_unregister_post_tag');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.