Created
November 26, 2019 14:20
-
-
Save djrmom/e217fd49befeb28c51fedadd7003ccd1 to your computer and use it in GitHub Desktop.
facetwp remove google maps
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 copy of google maps when another plugin or theme is already loading it **/ | |
add_filter( 'facetwp_assets', function( $assets ) { | |
unset( $assets['gmaps'] ); | |
return $assets; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment