wp_kses_bad_protocol Wordpress function


Description:

Sanitize string from bad protocols.


Syntax:


Arguments:

(string) $string Content to filter bad protocols from
(array) $allowed_protocols Allowed protocols to keep


Return Type:

(string) Filtered content


Define At:

wp-includes/kses.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_kses_bad_protocol


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×