searchwp\license\key
4.0.0以降
ライセンスキーをプログラムで定義します。
パラメータ
| タイプ | パラメータ | デフォルト | 提供開始 |
|---|---|---|---|
| 文字列 | $key |
保存されたライセンスキー | 4.0.0 |
例
All hooks should be added to your custom SearchWP Customizations Plugin.
ライセンスキーをプログラムで定義する
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'; | |
| } ); |

