wp_kses_data

Advertisement

Summery Summery

Sanitize content with allowed HTML KSES rules.

Syntax Syntax

wp_kses_data( string $data )

Description Description

This function expects unslashed data.

Parameters Parameters

$data

(string) (Required) Content to filter, expected to not be escaped.

Return Return

(string) Filtered content.

Source Source

File: wp-includes/kses.php

function valid_unicode( $i ) {
	return ( 0x9 == $i || 0xa == $i || 0xd == $i ||
			( 0x20 <= $i && $i <= 0xd7ff ) ||

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.