array(), "type" => array(), "allowfullscreen" => array(), "allowscriptaccess" => array(), "height" => array(), "width" => array() ); $custom_allowedtags["script"] = array( "type" => array(), "async" => array(), "src" => array(), ); $allowedposttags["ins"] = array( "data-ad-client" => array(), "data-ad-slot" => array(), "class" => array(), "style" => array(), ); $custom_allowedtags = array_merge($custom_allowedtags, $allowedposttags); $output = wp_kses( $input, $custom_allowedtags); return $output; } add_action('admin_init','ac_change_santiziation', 100); ?>