wp_filter_post_kses
wp_filter_post_kses ( $data )
Parameters:- (string) data Post content to filter, expected to be escaped with slashes.
Returns:- (string) Filtered post content with allowed HTML tags and attributes intact.
Defined at: - Introduced in WordPress: 2.0.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 slashed data.