searchwp\tokens\strict
Da: 4.0.0
Indice
Controlla se SearchWP è rigoroso con i token. Quando disabilitato (che è il comportamento predefinito), SearchWP rimuoverà gli accenti dai caratteri.
Parametri
| Tipo | Parametro | Predefinito | Da |
|---|---|---|---|
| Booleano | $enabled |
false |
4.0.0 |
Esempi
All hooks should be added to your custom SearchWP Customizations Plugin.
Dì a SearchWP di essere rigoroso con accenti e umlaut
This file contains hidden or 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 | |
| // Tell SearchWP to be strict with accents and umlauts. | |
| add_filter( 'searchwp\tokens\strict', '__return_true' ); |

