searchwp\license\key
Desde: 4.0.0
Tabla de contenidos
Define su clave de licencia mediante programación.
Parámetros
| Tipo | Parámetro | Predeterminado | Desde |
|---|---|---|---|
| Cadena | $key |
Clave de licencia almacenada | 4.0.0 |
Ejemplos
All hooks should be added to your custom SearchWP Customizations Plugin.
Definir clave de licencia mediante programación
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'; | |
| } ); |

