Support

Account

Home Forums Backend Issues (wp-admin) Add tabs and repeaters to an existing field group with PHP

Unread

Add tabs and repeaters to an existing field group with PHP

  • Hello,

    I know there’s a similar question here but unfortunately it doesn’t seem to answer my question. Any help greatly appreciated…

    I have a field group on an options page which is registered using the acf_add_local_field_group function and the acf/include_fields hook. The field group contains top level tabs for years and ‘within’ the tabs are nested groups that contain more tabs for countries.

    The client can add more countries via a separate repeater field which in turn queries an API and returns data for the country.

    How can I add a new tab for any new countries that are added by the client to my existing field group?

    I’ve tried using acf_add_local_field but it doesn’t seem to work…

    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.