Home › Forums › Gutenberg › Change _underscore names to -dash names without loosing content › Reply To: Change _underscore names to -dash names without loosing content
Thanks for your answer, John. That sounds really difficult and also prone to errors.
The reason for the change would have been that I would have liked to switch the older projects from registering blocks with PHP, to those via block.json. There the problem with the underscores already starts.
One can only advise everyone to avoid underscores. I had started this way, because it was written here: https://www.advancedcustomfields.com/blog/best-practices-designing-custom-fields/#1-naming-your-fields-
It is to be hoped that the registration of blocks by PHP remains downward compatible and WP does not throw this option out sometime.
I hope I’m not confusing anything 😉
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!