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