Menu
wpseek
mobile
Search
wp_kses_post
wp_kses_post
(
$data
)
Parameters:
(string)
data
Post content to filter.
Returns:
(string) Filtered post content with allowed HTML tags and attributes intact.
Defined at:
wp-includes/kses.php
, line 2231
Introduced in WordPress:
2.9.0
Deprecated in WordPress:
—
Description
Sanitizes content for allowed HTML tags for post content.Post content refers to the page contents of the 'post' type and not `$_POST` data from forms. This function expects unslashed data.
Related Functions
wp_kses_post_deep
,
wp_kses_split
,
wp_insert_post
,
wp_kses_attr
,
wp_kses_data
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
5
get_user
user_can_for_blog
wp_interactivity_get_element
wp_register_block_metadata_collection
wp_register_core_block_metadata_collection
My Bookmarks
- Soon -
About
Imprint
Privacy Policy