Home Forums ACF PRO Pro License Key in config? Reply To: Pro License Key in config?

  • Throw this in your MU plugins
    and then add put this in your wp-config file:
    define('ACF_PRO_LICENSE', 'yourkeyhere' );

    That can be used manually, but I also use this bash script to make it easier to install. Note that the license key is not stored in the script:

    Please use responsibly. Never ever allow your key to become public. Never include wp-config or any files including licenses and other secrets in any version control system.

    It’s also important to double check that you are following [WP best practices and setting wp-config.php permissions]( to 440 or 400 when you’re not editing the file.