Description
Filters content to be run through KSES.
Occurrences
Filename | Line Number |
---|---|
wp-includes/kses.php | 946 |
Parameters
Type | Name | Description |
---|---|---|
string | $content | Content to filter through KSES. |
array[]|string | $allowed_html | An array of allowed HTML elements and attributes, or a context name such as 'post'. See wp_kses_allowed_html() for the list of accepted context names. |
string[] | $allowed_protocols | Array of allowed URL protocols. |
PHP Doc
/**
* Filters content to be run through KSES.
*
* @since 2.3.0
*
* @param string $content Content to filter through KSES.
* @param array[]|string $allowed_html An array of allowed HTML elements and attributes,
* or a context name such as 'post'. See wp_kses_allowed_html()
* for the list of accepted context names.
* @param string[] $allowed_protocols Array of allowed URL protocols.
*/