Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 23, 2020 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/b3dd6ba66587cdd2f3038a70a7dc727a to your computer and use it in GitHub Desktop.
Save jchristopher/b3dd6ba66587cdd2f3038a70a7dc727a to your computer and use it in GitHub Desktop.
Disable SearchWP's fuzzy logic when performing partial matches
<?php
// Disable SearchWP's fuzzy logic when performing partial matches.
add_filter( 'searchwp\query\partial_matches\fuzzy', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment