wp_kses Wordpress function


Description:

Filters content and keeps only allowable HTML elements.


Syntax:


Arguments:

(string) $string Content to filter through kses
(array) $allowed_html List of allowed HTML elements
(array) $allowed_protocols Optional. Allowed protocol in links.


Return Type:

(string) Filtered content with only allowed HTML elements


Define At:

wp-includes/kses.php


Wordpress Reference URL:

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


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