Hi, i’m looking for the exact same thing.
I created a fields using ACF in the wp-admin area, then I exported them via php.
Later ( by mistake ) i overwritten my database, and now I can’t edit the fields in the wp-admin, only via php.
Is there any way i can register them again, using the php code i have.
I need this only once, later i will edit them in the wp-admin area.