Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

How to disable “brand” functionality

$
0
0

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


Viewing all articles
Browse latest Browse all 104029

Trending Articles