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:

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.

Related Functions

wp_filter_nohtml_kses, wp_filter_kses, wp_filter_object_list, wp_write_post, wp_delete_post_revision

Top Google Results

User discussions

wpseek mobile