Home › Forums › ACF PRO › Create/update post title from ACF fields › Reply To: Create/update post title from ACF fields
Thanks @acf-support
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
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.