Maybe use:
echo wp_kses_post( get_field(‘field_name’) );
instead of
echo get_field(‘field_name’);
Hi, thank you! But I do think that ACF is looking for this code at the template level. I thought I changed everything, but I still got the notice after dismissing it. Then I realised that I also had some templates (from the Ajax Load More plug-in) which are stored outside the themes folder (in the uploads folder). When I changed them, the notice didn’t came back. Didn’t change the content of any fields.
Hi,
did you get an answer yet? I would like to know, I have the same question,
thank you,
Arjen