Are you using ACF (Advanced Custom Fields) and have the need to change the field name, but then you discover that it makes all the data disappear?
Since ACF uses the field name as the meta key to save and retrieve data, it makes it seem impossible to change. You may consider changing only the label and leaving the field name alone.
However, in some cases, changing the name is needed. If you’re in that boat, I’ve got good news. It is possible to migrate all your post meta data to the new meta key.
In this post, I’ll show you exactly how to run a couple SQL statements on your database to migrate all the post meta data from the old key to the new key. Continue reading How to Update an ACF Field Name Without Losing the Data
Blogger, expert WordPress developer, and developer of the awesome bbPress Voting plugin which is a must-have plugin for any bbPress forum.
Download bbPress Voting for free on the WordPress Plugin Directory.