Created
November 24, 2017 15:09
-
-
Save msaari/4e87867aa33f5f9436ba051fe7e88a3d to your computer and use it in GitHub Desktop.
Looser fuzzy query
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 | |
| add_filter('relevanssi_fuzzy_query', 'rlv_loose_fuzzy'); | |
| function rlv_loose_fuzzy($fuzzy) { | |
| return "(term LIKE '%#term#%')"; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you very much