Available since: 1.4.1
searchwp_refine_and_results
If SearchWP finds too many results during the first AND
logic pass (this threshold is defined by searchwp_max_and_results
) it will shift into a more aggressive AND
logic pass that applies only to titles (when applicable).
If you would like to prevent SearchWP from refining AND
results add the following to your theme’s functions.php
:
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( 'searchwp_refine_and_results', '__return_false' ); |