Home › Forums › Gutenberg › Change _underscore names to -dash names without loosing content › Reply To: Change _underscore names to -dash names without loosing content
Changing field names is difficult. Doing this when using the block editor is even more difficult.
What is involved is finding and changing the field name in the database for every occurrence of the field. Every field has 2 entries, the first is the field name and the second is the field key reference which is the field name prepended with an underscore. Without the block editor this information is stored in the various meta tables. Using the block editor this information is stored in post content.
Basically, once a field is in use you just do not go back and change the field name, you live with those past decisions.
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!