I have the same in various groups, I have the same field called heading, I use this field to set the post title on 90% of my posttypes. using the field key would need me to define the key for each group, while if I do $my_post['post_title'] = get_field('heading'); it would the heading field on my contact field group, but also on my about field group for example.
I’ve never had issues doing it this way.
What’s you’re opinion about this?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users