Created
June 25, 2019 14:36
-
-
Save mgibbs189/e963a2765b087584e158779450f64621 to your computer and use it in GitHub Desktop.
Force-load fSelect
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 | |
add_filter( 'facetwp_load_assets', '__return_true' ); | |
add_filter( 'facetwp_assets', function( $assets ) { | |
$assets['fSelect.js'] = FACETWP_URL . '/assets/vendor/fSelect/fSelect.js'; | |
$assets['fSelect.css'] = FACETWP_URL . '/assets/vendor/fSelect/fSelect.css'; | |
return $assets; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment