Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Force-load fSelect
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
You can’t perform that action at this time.