-
-
Save searchwpgists/6afc8ef280a84eccd852e291468abe38 to your computer and use it in GitHub Desktop.
Customize SearchWP Engine used
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 | |
// Customize SearchWP Engine used. | |
add_filter( 'searchwp\native\args', function( $args, $query ) { | |
$args['engine'] = 'supplemental'; | |
return $args; | |
}, 15, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment