Home › Forums › Feature Requests › Field Group › Reply To: Field Group
Hi @kkokoruz
Could you please tell me which ACF version did you use? I’ve just found out that the code I gave you doesn’t work on ACF free version. I’m afraid you need to get it manually from the database.
If you use the PRO version, I believe the code does what you asked for. It will get the ID of a custom field and use it to get the object of the field group. With that object, you can get field group title.
Regarding the label, I believe you can do it by using the get_field_object() function. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/get_field_object/.
I hope this makes sense 🙂
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.