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 GRAVITYKIT_LICENSES constant.

Add the following to your wp-config.php file:


You can also specify more than one license this way:


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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us