searchwp\license\key
Seit: 4.0.0
Definieren Sie Ihren Lizenzschlüssel programmatisch.
Parameter
| Typ | Parameter | Standard | Seit |
|---|---|---|---|
| Zeichenkette | $key |
Gespeicherter Lizenzschlüssel | 4.0.0 |
Beispiele
All hooks should be added to your custom SearchWP Customizations Plugin.
Lizenzschlüssel programmatisch definieren
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 | |
| // Programmatically define SearchWP license key. | |
| add_filter( 'searchwp\license\key', function( $key ) { | |
| return 'my-full-searchwp-license-key'; | |
| } ); |

