Sanitizes content from bad protocols and other characters.
This function searches for URL protocols at the beginning of $string, while handling whitespace and HTML entities.
<?php wp_kses_bad_protocol_once( $string, $allowed_protocols ) ?>
Since: 1.0.0
wp_kses_bad_protocol_once() is located in wp-includes/kses.php
.