Last active
June 3, 2022 19:33
-
-
Save mishterk/18e040d9347b98179a1bbe004c118c55 to your computer and use it in GitHub Desktop.
How to define the ACF PRO license key in code rather than storing it in the WordPress database. This Gist accompanies the article: https://www.awesomeacf.com/snippets/store-acf-pro-license-key-in-wordpress-php-configuration/
This file contains 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 | |
// Add this in your wp-config.php file | |
define('ACF_PRO_LICENSE', '{YOUR LICENSE KEY HERE}' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment