Summery Summery
Sanitizes content for allowed HTML tags for post content.
Syntax Syntax
Description Description
Post content refers to the page contents of the ‘post’ type and not $_POST
data from forms.
This function expects slashed data.
Parameters Parameters
- $data
-
(Required) Post content to filter, expected to be escaped with slashes.
Return Return
(string) Filtered post content with allowed HTML tags and attributes intact.
Source Source
File: wp-includes/kses.php
* @return string Content after decoded entities. */ function wp_kses_decode_entities( $string ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |