Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created April 24, 2019 13:34
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/8a51722e584a024c68acd81c004614a6 to your computer and use it in GitHub Desktop.
Save jchristopher/8a51722e584a024c68acd81c004614a6 to your computer and use it in GitHub Desktop.
Increase SearchWP's fuzzy matching threshold
<?php
// Increase SearchWP's fuzzy matching threshold.
add_filter( 'searchwp_fuzzy_threshold', function( $threshold ) {
return 80;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment