Home › Forums › ACF PRO › Remove nag from recent update › Reply To: Remove nag from recent update
In case anyone else needs a solution to this specific issue, here is what worked to hide the nag.
I added this small snippet of code to my Child Theme’s functions.php file:
add_filter( 'acf/admin/prevent_escaped_html_notice', '__return_true' );
If you use this, please be sure to FIRST check your usage of (ACF’s) the_field, which now escapes any HTML in the contents of the_field, and ensure that you won’t have any site-breaking issues.
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.