searchwp\license\key
Depuis : 4.0.0
Table des matières
Définissez votre clé de licence par programme.
Paramètres
| Type | Paramètre | Défaut | Depuis |
|---|---|---|---|
| Chaîne | $key |
Clé de licence stockée | 4.0.0 |
Exemples
All hooks should be added to your custom SearchWP Customizations Plugin.
Définir la clé de licence par programmation
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'; | |
| } ); |

