wp_kses_data() WP 1.0
Sanitize content with allowed HTML Kses rules.
Works based on:
wp_kses()
✈ 1 time = 0.000276s = fast | 50000 times = 0.59s = very fast | PHP 7.0.2, WP 4.4.1
No Hooks.
Return
String. Filtered content
Usage
wp_kses_data( $data );
- $data(string) (required)
- Content to filter, expected to not be escaped