Home Forums Add-ons Repeater Field update_sub_row repeater


update_sub_row repeater

  • Hello guys,
    i am using update_sub_row function and currently cannot update repeater inside repeater inside repeater fields.
    – repeater_main
    – repeater_child
    – repeater_child_child
    a) Field A
    b) Field B

    as documentation stated

    update_sub_row($selector, $row, $value, [$post_id])
    $selector - (string|array). 

    i get that.

    update_sub_row( array('repeater_main', $key_main, 'repeater_child'), $key_child, $value,  $id);

    works like a charm. But the problem is when i need to update third repeater fields. Maybe someone has any ideas?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.