Home Forums Feature Requests Import from PHP code


Import from PHP code

  • Hi,

    I think it’d be nice to have the ability to import fields back into a WordPress database when they are added by PHP. I often export the PHP code into my themes, so it’s easier to reuse them, but then if I want to change some of the fields, I have to do it in the Code rather than with the backend editor.

  • There isn’t a way to do this. If you’re using ACF5 your can export the field group to a JSON file and save it to be imported when you want to work on it again.

  • Hi John,

    Surely, it’s possible. The data is there, so grabbing it and putting in the database is definitely possible from a technical perspective.

    I found a plugin that actually enables you to do this, but it would be cool if this could be integrated in ACF by default.

  • I know was a feature request and was just pointing out a way this can be done with the newest version of ACF. If you really think this is something that should be added then you should submit a request here

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Import from PHP code’ is closed to new replies.