Home Forums ACF PRO update_sub_field not working!


update_sub_field not working!

  • I just bought acf pro because I need to work with repeater field in front-end.
    I would like to update my repeater sub field but I can’t do with this function.

    my code is:

    $field_key = 'field_545b7d81cadbb';
    //$field_key = 'biography'; //also i try with field name
    I would like to update my first row in this situation, but not working!
    update_sub_field( array($field_key, 0, 'title'), 'This caption is for the first row of the repeater!' );
Viewing 1 post (of 1 total)

The topic ‘update_sub_field not working!’ is closed to new replies.