apply_filters( 'pre_kses', string $content, array[]|string $allowed_html, string[] $allowed_protocols )

Filters content to be run through KSES.


Parameters

$content

Content to filter through KSES.

$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.

$allowed_protocols

Array of allowed URL protocols.


Source

File: wp-includes/kses.php

View on GitHub



Changelog

Changelog
Version Description
2.3.0 Introduced.