WordPress File wp-includes/kses.php

wp_kses_hair()

Builds an attribute list from string containing attributes.

wp_kses_post()

Sanitizes content for allowed HTML tags for post content.

wp_kses_post_deep()

Navigates through an array, object, or scalar, and sanitizes content for allowed HTML tags for post content.