Support

Account

Home Forums Backend Issues (wp-admin) Is it possible to add another query to ACF itself? Reply To: Is it possible to add another query to ACF itself?

  • This is a pretty old question, but for others looking for a way to import data into ACF.

    First there are now import plugins that will do this. One of them can be found here http://www.wpallimport.com/

    If you want to do this yourself then you will need to learn how the names of fields and rows are created in the DB. Also, each entry in the DB is made up of 2 entries. The first is your data and the second is the field key information. Information on the DB fields is covered here https://www.advancedcustomfields.com/resources/update_field/.

    You might also try using ACF functions update_field, update_row, and add_row https://www.advancedcustomfields.com/resources/update_row/ https://www.advancedcustomfields.com/resources/add_row/, but more than likely attempting to import using these functions, if you have a lot of data to import, will time out.