Sanitizes content from bad protocols and other characters.
wp_kses_html_error
Handles parsing errors in `wp_kses_hair()`.
wp_kses_stripslashes
Strips slashes from in front of quotes.
wp_kses_array_lc
Converts the keys of an array to lowercase.
Advertisement
wp_kses_no_null
Removes any invalid control characters in a text string.
wp_kses_bad_protocol
Sanitizes a string and removed disallowed URL protocols.
wp_kses_hair_parse
Builds an attribute list from string containing attributes.
wp_kses_check_attr_val
Performs different checks for attribute values.
Advertisement
wp_kses_attr_parse
Finds all attributes of an HTML element.
wp_kses_hair
Builds an attribute list from string containing attributes.
wp_kses_attr_check
Determines whether an attribute is allowed.
wp_kses_attr
Removes all attributes, if none are allowed for this element.
Advertisement
wp_kses_uri_attributes
Returns an array of HTML attribute names whose value contains a URL.
wp_kses_uri_attributes
Filters the list of attributes that are required to contain a URL.
wp_kses_split
Searches for HTML tags, no matter how malformed.