Home › Forums › ACF PRO › v5.3.8.1 name property in sub field object has changed › Reply To: v5.3.8.1 name property in sub field object has changed
This is happening to every field included in a flexible layout, not just radios/selects.
I did hear back from James in support who indicated this is a permanent, known change. While disappointing, I’m pretty sure I can regex my way around it and pull out the original key/name. I don’t like doing that as it seems way too brittle… I guess maybe I could switch to using get_field_object instead of get_sub_field_object(), as it appears that get_field_object still returns the real name value instead of the adjusted name value.
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 use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.