I’m trying to embed a Google Custom Search engine in couple of page.
I tried using embed, text, wysiwyg field.
**Error i get is: ACF PRO —** ACF now automatically escapes unsafe HTML when rendered by `the_field` or the ACF shortcode. We’ve detected the output of some of your fields has been modified by this change, but this may not be a breaking change. [Learn how to fix this](https://www.advancedcustomfields.com/escaping-the-field/?utm_source=ACF+PRO&utm_medium=insideplugin&utm_campaign=docs&utm_content=6-2-5-security-changes). [Show details](https://test3.ganeshunnam.com/wp-admin/admin.php?page=edit-snippet&id=6#).
I added a code snippet to allow what it is considering as unsafe HTML
`add_filter( ‘acf/shortcode/allow_unsafe_html’, function ( $allowed, $atts ) {`
`if ( $atts[‘field’] === ‘gcse_code_snippet’ ) {`
`return true;`
`}`
`return $allowed;`
`}, 10, 2 );`
But still it doesn’t work.
**PS:** I’m using ACF + Elementor + WP All Import
[ad_2]