This Documentation is for SearchWP Version 3

Available since: 1.4.1


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:

add_filter( 'searchwp_refine_and_results', '__return_false' );
view raw gistfile1.php hosted with ❤ by GitHub