Available since: 1.9
searchwp_lenient_accents
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.
This file contains 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( 'searchwp_lenient_accents', '__return_true' ); |