searchwp\tokens\apply_rules_to_pattern_matches
Da: 4.0.0
Indice
Controlla se SearchWP applica le sue regole di convalida (ad es. lunghezza minima) alle corrispondenze di pattern di espressioni regolari (regex).
Parametri
| Tipo | Parametro | Predefinito | Da |
|---|---|---|---|
| Booleano | $enabled |
vero |
4.0.0 |
Esempi
All hooks should be added to your custom SearchWP Customizations Plugin.
Indica a SearchWP di saltare l'applicazione delle regole per le corrispondenze dei pattern regex
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 skip rule application for regex pattern matches. | |
| add_filter( 'searchwp\tokens\apply_rules_to_pattern_matches', '__return_false' ); |

