Home › Forums › Add-ons › Repeater Field › Get $_POST['acf'] value of repeater field in post object › Reply To: Get $_POST['acf'] value of repeater field in post object
I am not really sure, you’re description is confusing me a bit.
If you are getting a sub field of a group field in $_POST then you would use
$_POST['acf']['field_XXXXXX']['field_YYYYYYY']
where field_XXXXXXX is the group field and field_YYYYYYY is the sub field.
For the repeater, you need to loop over the repeater the same way you would loop over it anywhere else, or loop over the array that is returned when you use get_field().
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.