SearchWP

This Documentation is for SearchWP Version 3

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:

<?php
add_filter( 'searchwp_refine_and_results', '__return_false' );
view raw gistfile1.php hosted with ❤ by GitHub
[wpforms id="3080"]