Home › Forums › ACF PRO › Can we use get_field() for ACF Group's subfields? › Reply To: Can we use get_field() for ACF Group's subfields?
You may already have your answer
It sounds like you’ve already tried
$copyright = get_field('footer_copyright');
and that is is working for you.
It makes sense that it would work for any sub field where you know the exact meta key where it is stored, in the same way that get_post_meta()
will work if you know the right meta_key to use to get the sub field.
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.