Home › Forums › General Issues › How to import (wp all import) the custom fields attached to each term using ACF? › Reply To: How to import (wp all import) the custom fields attached to each term using ACF?
I got this “ACF saves two entries in the database, the field value and another is reference”
But the thing is I am using it for Taxonomy’s term, So I guess your given code won’t work in my case.
Well after using the update_field function in this format
update_field('field_1234567890abc', 'test', 'taxonomy-slug_99');
it’s work for me. Now it’s storing the value and reference into WP_option table and I can access the value by ACF functions.
Noe the only issue is how can I get “field key” for my each column. Please have a look at attached file. The column name is the same as ACF filed.
So I guess I have to put the “field key” as column name instead of “filed name” what you say ?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re hard at work on ACF 6.1, and Beta 1 is now available 🚀— Advanced Custom Fields (@wp_acf) March 16, 2023
This release includes custom post type and taxonomy registration, an improved experience when selecting field types, PHP 8.1 and 8.2 compatibility, and more!
Let’s take a look 🧵https://t.co/Y0WcAT11l4
© 2023 Advanced Custom Fields.