Is it possible to register Layout fields via PHP?
If so, is there any documentation or resources?
My Google-fu has turned up nothing.
Additionally, https://www.advancedcustomfields.com/resources/register-fields-via-php/ does not mention this functionality.
Hi there,
Yup… just did it… I was using Tabs and Repeaters… both of which are Layout Fields.
To do it… I just used the ‘Export’ feature to generate the PHP code.
Go to: Custom Fields -> Tools -> (choose your Field Group) -> (click ‘Generate export code’)