Replies: 0
Hi,
I don’t need this functionality, so I applied what I found on:
https://developer.woocommerce.com/2025/01/17/enabling-brands-update-for-woocommerce-9-6/
add_action( 'init', function() {
update_option( 'wc_feature_woocommerce_brands_enabled', 'no' );
} );
It is specified: “This is a one-off snippet. Once you install it, visit any page in your store to disable Brands. Then, remove this snippet.”
I don’t understand this. When should I remove this piece of code ?
Thanks a lot.
Best regards