Hi there,
I’d love to create a plugin with the Exported code but it seems like it only works if inserted on the functions.php page.
Can it be done? If so, how?
Many thanks in advance!!
Hi @Luis
The register_field_group function will work in another plugin, as long as ACF is activated and your code is run on the ‘plugins_loaded’ action.
This will ensure your code runs AFTER ACF exists.
Thanks
E
Perfect, it works. Thanks!