WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp kses data

Contents

Description

Sanitize content with allowed HTML Kses rules.

Usage

<?php wp_kses_data$data ); ?>

Parameters

$data
(string) (required) Content to filter, expected to not be escaped
Default: None

Return Values

(string) 
Filtered content

Change Log

Since: 2.9

Source File

wp_kses_data() is located in wp-includes/kses.php