Hi! How would you add a repeater field entries via hook or filter?
Lets say I have 3 array.
column 1, column 2 and column 3.
How do i hook this 3 arrary to a repeater field entry?
I think this is possible since its possible to populate a select field options.
Any suggestion guys?
Hi @rovillesarate
Can you please describe with more details what you mean by How do i hook this 3 arrary to a repeater field entry?
This is not very clear.
Thanks
E
I am using gravityforms for my front end form. As we know, there is no seamless way of integrating acf and gravityforms.
Gravityforms does not have a form field like the repeater field of acf although they do use a list form field. But the list field differs with the acf repeater field. In order for me to save the list field entries to the acf repeater field. I need to use a filter to get the values of its list field and then store its values into an array.
so is there a way to put this value into the repeater field by using a hook or filter? like the update_field? but im not sure if this will work with a new post.
Hi @rovillesarate
Yes, you can use the update_field
function to update a repeater field.
Please checkout the docs for update_field and repeater.
Thanks
E