Home › Forums › Front-end Issues › Repeater in acf_form wont update › Reply To: Repeater in acf_form wont update
Aha, I now realise that the whole messed is based on my use of select fields and not text fields with the wp_kses_post() function.
Many have had this issue to fight with it looks like.
http://support.advancedcustomfields.com/forums/topic/acf_form-security-documentation/
I will now try to use your function:
function acf_wp_kses_post($data) {
if (!is_array($data)) {
return wp_kses_post($data);
}
$return = array();
foreach ($data as $index => $value) {
$return[$index] = acf_wp_kses_post($value);
}
return $return;
}
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.