true, 'src' => true, 'width' => true, 'height' => true, 'allow' => true, 'allowfullscreen' => true, ); /** * Sanitize HTML by using wp_kses. * It is possible to extend the supported HTML tags by * using the "wp_kses_allowed_html" hook. */ return wp_kses(wp_unslash($text), $allowed); } }