fbpx

It’s been a long awaited feature but as of version 5.11, the Advanced Custom Fields Pro license key can now be hard-coded using PHP into your WordPress configuration file. It’s simply a case of adding the following constant to your wp-config.php file or a config plugin of your own:

<?php
// Add this in your wp-config.php file
define('ACF_PRO_LICENSE', '{YOUR LICENSE KEY HERE}' );

See the offical release notes here:
https://www.advancedcustomfields.com/blog/acf-5-11-release-rest-api/#license-key-improvements

Keep up to date with all things ACF!

Subscribe to our newsletter or follow @awesomeacf on Twitter!