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

Filters content to be run through kses.


Description Description


Parameters Parameters

$string

(string) Content to run through KSES.

$allowed_html

(array[]|string) Allowed HTML elements.

$allowed_protocols

(string[]) Array of allowed URL protocols.


Top ↑

Source Source

File: wp-includes/kses.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.