Created
December 3, 2019 18:52
-
-
Save djrmom/b9df6802f275b09969a88df3390e1a42 to your computer and use it in GitHub Desktop.
facetwp remove woocommerce js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** remove facet's custom javascript for woocommerce **/ | |
add_filter( 'facetwp_assets', function( $assets ) { | |
unset( $assets['woocommerce.js'] ); | |
return $assets; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment