Last active
February 19, 2021 20:47
-
-
Save jchristopher/ea56cc24eda4f7dab2d515295d2e5e5e to your computer and use it in GitHub Desktop.
Disable SearchWP AND logic token threshold, allowing AND logic for all searches.
This file contains hidden or 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 | |
// Disable SearchWP AND logic token threshold, allowing AND logic for all searches. | |
// @link https://searchwp.com/documentation/hooks/searchwp-query-logic-and-token_threshold/ | |
add_filter( 'searchwp\query\logic\and\token_threshold', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment