Hard-coding your license key
If you want your GravityKit's license key to pre-populate when a new site is created on a Multi-Site installation, you can define a
Add the following to your
const GRAVITYKIT_LICENSES = 'YOUR_KEY_HERE';
You can also specify more than one license this way:
const GRAVITYKIT_LICENSES = ['FIRST_KEY','SECOND_KEY'];
Need help with editing the wp-config.php file? See this article for more information.
Since October 2022, we have updated all our add-ons with a new license management system, so license keys are now stored encrypted in the database and are never exposed to the user on the dashboard. When using a constant, like in the examples above, those will be the only instance where license keys won't be encrypted.