Been awhile since there was activity on this one, figured I’d followup. I’d also like a way to apply my ACF key from the wp-config.php file. Recently been batch installing Let’s Encrypt SSL on my customer sites. Whenever there is a url change (like http:// to https://), ACF Pro drops the license and makes me reactivate. Having it applied from wp-config.php would solve this.
Another common scenario I run into is when I go from a development site to production (like newsite.wpengine.com to newsite.com). This also drops the license key and requires manually intervention to reapply.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!