apply_filters( 'pre_kses', string $string, array $allowed_html, array $allowed_protocols )

Filters content to be run through kses.


Parameters

$string

(string) Content to run through kses.

$allowed_html

(array) Allowed HTML elements.

$allowed_protocols

(array) Allowed protocol in links.


Source

File: wp-includes/kses.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.