searchwp\query\tokens\use_stems
Seit: 4.0.0
Steuern Sie, ob Token-Stämme für eine Abfrage verwendet werden.
Parameter
| Typ | Parameter | Standard | Seit |
|---|---|---|---|
| Boolean | $enabled |
Status der Kontrollkästchen für Engine-Einstellungen | 4.0.0 |
| \SearchWP\Query | $query |
Die ausgeführte Abfrage | 4.0.0 |
Beispiele
All hooks should be added to your custom SearchWP Customizations Plugin.
Schlüsselwort-Stammform für alle Engines deaktivieren
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 | |
| // Disable keyword stemming for all Engines in SearchWP. | |
| add_filter( 'searchwp\query\tokens\use_stems', '__return_false' ); |

