Filters content to be run through KSES.
$contentstring$allowed_htmlarray[]|string$allowed_protocolsstring[]wp-includes/kses.php:948wp_kses_hook() * @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. */ return apply_filters( 'pre_kses', $content, $allowed_html, $allowed_protocols );} /** * Returns the version number of KSES. * * @since 1.0.0Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.