This Documentation is for SearchWP Version 3

Available since: 1.9


Note: Use of this hook will require a manual reindex

By default SearchWP will respect any accented characters that are indexed or searched for. If you find that your visitors are searching without accents for terms that have accents, you can tell SearchWP to be more lenient in this area.

add_filter( 'searchwp_lenient_accents', '__return_true' );
view raw gistfile1.php hosted with ❤ by GitHub