Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dequeue_woocommerce_cart_fragments() {
- if ( is_front_page() ) {
- wp_dequeue_script( 'wc-cart-fragments' );
- }
- }
- add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_cart_fragments', 999999 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement