I got an ACF group that I have registered via acf\_register\_block. This is an existing block on the site, so there is already data in these fields. One of the fields is a link type, which was originally set to return ‘URL’ as the return value.
However, when I tried to change it to ‘return\_format’ => ‘array’, the data won’t update. I’m assuming that this is because it’s already registered to return URL, and i would need to run some kind of loop to update all the metadata? Any help would be great. Thanks
`array(`
`’key’ => ‘left_side_link_link’,`
`’label’ => ‘Link ID/URL’,`
`’name’ => ‘left_side_link_link’,`
`’aria-label’ => ”,`
`’type’ => ‘link’,`
`’instructions’ => ”,`
`’required’ => 0,`
`’conditional_logic’ => array(`
`array(`
`array(`
`’field’ => ‘left_side_link_one’,`
`’operator’ => ‘==’,`
`’value’ => ‘link’,`
`),`
`),`
`),`
`’wrapper’ => array(`
`’width’ => ”,`
`’class’ => ”,`
`’id’ => ”,`
`),`
`’return_format’ => ‘array’,`
`),`
[ad_2]