Support

Account

Home Forums Feedback acf_form security documentation Reply To: acf_form security documentation

  • That’s a nifty little recursive function you made. Would that be called like this?

    add_filter( 'acf/update_value', 'acf_wp_kses_post', 10, 1 );

    I haven’t tried that yet, but I do want to clarify that my code in the initial post works on repeater fields. If someone knows they will not use a certain field on their site, they can delete that line. The main goal is just to ensure that the function doesn’t get run on a repeater itself.