Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

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
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP