SearchWP

This Documentation is for SearchWP Version 3

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.

<?php
add_filter( 'searchwp_lenient_accents', '__return_true' );
view raw gistfile1.php hosted with ❤ by GitHub
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]