Hi there, I’ve sent a support ticket but I thought I’d post here as well to see if anyone else has encountered this issue.
I’m attempting to update/add rows with multiple values to a repeater field using the update_sub_field function. My use case is actually pretty similar to the documentation.
I’ve confirmed that the fields are being added properly to the postmeta tables, so it seems that the function itself is working, but the problem is that none of the fields added programmatically actually show up on the post edit screen in the ACF repeater rows. Is this a known issue? Any information would be appreciated, I’m also happy to help the devs troubleshoot, thanks! -Matt
The plot thickens. I think I’ve figured out what’s going on but not sure. It seems that the repeater field stored in the post_meta table shows as 0 and that number doesn’t change when the update_sub_field() function is called. Not sure if this was working in an earlier version, but it’s not working in 5.2.5.
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future. https://t.co/HahJUCcyH4