-
-
Save searchwpgists/06598342792a9744bba3b1fa0628efd6 to your computer and use it in GitHub Desktop.
Enable quoted search support in SearchWP
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 | |
// Enable quoted search support in SearchWP. | |
add_filter( 'searchwp\query\logic\phrase', function( $enabled, $query ) { | |
return true; | |
}, 30, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment