MainWP Community

Remove WooCommerce support in GeneratePress

Remove WooCommerce support in GeneratePress on your child site.

Snippet Type

Execute on Child Sites

Snippet

function remove_woocommerce_support() {
    remove_theme_support( 'woocommerce' );
}
add_action( 'wp', 'remove_woocommerce_support', 100 );
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.