Support

Account

Home Forums Add-ons Repeater Field update_sub_row repeater

Unread

update_sub_row repeater

  • Hello guys,
    i am using update_sub_row function and currently cannot update repeater inside repeater inside repeater fields.
    Tree:
    – 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.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.