Support

Account

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 🙂