Disable Stripe scripts from loading on product and cart pages in WooCommerce Stripe Gateway

Disable Stripe scripts from loading on product and cart pages in WooCommerce Stripe Gateway on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'wc_stripe_load_scripts_on_product_page_when_prbs_disabled', '__return_false' );
add_filter( 'wc_stripe_load_scripts_on_cart_page_when_prbs_disabled', '__return_false' );

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