add_action('init','msd_allow_all_embeds'); function msd_allow_all_embeds(){ global $allowedposttags; $allowedposttags["iframe"] = array( "src" => array(), "height" => array(), "width" => array() ); $allowedposttags["object"] = array( "height" => array(), "width" => array() ); $allowedposttags["param"] = array( "name" => array(), "value" => array() ); $allowedposttags["embed"] = array( "src" => array(), "type" => array(), "allowfullscreen" => array(), "allowscriptaccess" => array(), "height" => array(), "width" => array() ); }
One Response