Answer the question
In order to leave comments, you need to log in
How to change acf wordpress key name?
Hello!
There is a bunch of wordpress site , acf custom fields plugin and mysql database .
I plan to replace some acf key names so as not to lose the information written in these fields.
I do according to the instructions
UPDATE `wp_postmeta` as m JOIN `wp_posts` as p ON m.post_id = p.ID SET m.meta_key = '_new_field_name' WHERE m.meta_value = 'field_5af0d933478b4' AND p.post_type = 'post'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question