WPDev.one
Core Function
View Source on Trac ↗

wp_filter_kses()

wp_filter_kses( mixed $data )

Sanitize content with allowed HTML KSES rules.

Parameters 1 required

Name / Type Description
$data
string

Content to filter, expected to be escaped with slashes.

Required

Return Value

(string)
Filtered content.

Function Information

Since Version
1.0.0
Source File
wp-includes/kses.php
Advertisement