Wow this is exactly what I was looking for! Thanks so much!
Yes I tried using get_field_object(‘FIELD NAME’) and run into the problem you mention.
I was just wondering though, if those field keys appear in the admin when editing a field group, they MUST be somewhere in the database right? Maybe wp_options or wp_postmeta… I’ve dug around a bit without success unfortunately, do you know by any chance where those could be stored?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users