wp_kses_post [ WordPress Function ]
wp_kses_post ( $data )
| Parameters: |
|
| Uses: |
|
| Returns: |
|
| Defined at: |
|
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.
Examples [ wp-snippets.com ]
Top Google Search Results
- Function Reference/wp kses post « WordPress Codex
Description. 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.
codex.wordpress.org - Data Validation « WordPress Codex
To avoid having to pass an array of allowed HTML tags, you can use wp_kses_post( (string) $fragment ) for tags that are allowed in posts/pages or ...
codex.wordpress.org - Docs for page kses.php
Can be override by using CUSTOM_TAGS constant. since: 2.0.0; usedby: wp_kses_post(); usedby: wp_filter_post_kses(). array $allowedtags (line 445) ...
phpdoc.wordpress.org - wp_kses_post (WordPress Function) - WPSeek.com
WordPress lookup for wp_kses_post, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com