Hi @tuskotrush
First, you need to remove the base64_encode()
function so it looks like this:
'acf_license' => 'MY_LICENSE_STRING',
Also, did you include ACF in your theme? It’s possible that the code is executed before ACF is loaded. In this case, could you please use the acf/init hook instead?
I hope this helps 🙂