Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/kses.php | apply_filters | 910 | /** * Filters content to be run through KSES. * * @since 2.3.0 * * @param string $string 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $string | Content to filter through KSES. |
array[]|string | $allowed_html | An array of allowed HTML elements and attributes, |
string[] | $allowed_protocols | Array of allowed URL protocols. |