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

(string) Content to run through KSES.

$allowed_html

(array[]|string) Allowed HTML elements.

$allowed_protocols

(string[]) 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