Support

Account

Home Forums Add-ons Repeater Field Adding repeater field with update_post_meta Reply To: Adding repeater field with update_post_meta

  • Hi @karbanovich

    All you need to do is ditch the current code which uses the native post meta functions, and use the ACF update_field function.

    This function will expect a multi-dimentional array as the value (an array of rows each containing the cell)

    Don’t save each sub field separately, but only save the repeater field once with all the data!

    Let me know if you run into any issues.
    http://www.advancedcustomfields.com/resources/functions/update_field/

    Thanks
    E