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_kses, wp_filter_nohtml_kses, wp_filter_out_block_nodes, filter_block_kses, wp_filter_object_list

Top Google Results

User discussions

wpseek mobile