Codex tools: Log in
Contents |
Sanitize 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.
<?php wp_kses_post( $data ); ?>
Since: 2.9
wp_kses_post() is located in wp-includes/kses.php