pre_kses

Advertisement

Summery Summery

Filters content to be run through kses.

Syntax Syntax

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

Parameters Parameters

$string

Content to run through KSES.

$allowed_html

Allowed HTML elements.

$allowed_protocols

Array of allowed URL protocols.

Source Source

File: wp-includes/kses.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply