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

Filters content to be run through kses.


Parameters

$string

Content to run through kses.

$allowed_html

Allowed HTML elements.

$allowed_protocols

Allowed protocol in links.


Source

File: wp-includes/kses.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.3.0 Introduced.