Embed Google Map into Custom HTML

[ad_1]

WordPress security guidelines require sanitizing all HTML output so there’s a function in framework/init.php wp_kses_wf() around line 130 which handles that.

Try adding another tag block for iframe with all the attributes you need like src. Something like:
$allowed_tags['iframe'] = array(
'style' => true,
'class' => true,
'id' => true,
'data-*' => true,
'src' => true,
);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer