Support

Account

Home Forums ACF PRO Repeater – create subfields programatically

Unread

Repeater – create subfields programatically

  • Lets say i have an Repeater inside a repeater with already fixed fields.

    $acf[‘repeater’][‘repeater’]

    I need to create a subfield passed by param with a gallery along, something like:

    addfield($name,$cat,$subcat)

    that would create for $acf[$cat][$subcat][‘name’=>$name,’gallery’=>$gal];

    something along these lines,

    is this possible?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.