Advertisement

wp_kses_bad_protocol

Sanitizes a string and removed disallowed URL protocols.

wp_kses_check_attr_val

Performs different checks for attribute values.

wp_kses_hair_parse

Builds an attribute list from string containing attributes.

wp_kses_attr_parse

Finds all attributes of an HTML element.

Advertisement

wp_kses_hair

Builds an attribute list from string containing attributes.

wp_kses_attr

Removes all attributes, if none are allowed for this element.

wp_kses_uri_attributes

Returns an array of HTML attribute names whose value contains a URL.

Advertisement

wp_kses_split

Searches for HTML tags, no matter how malformed.

wp_kses_hook

You add any KSES hooks here.

wp_kses_allowed_html

Returns an array of allowed HTML tags and attributes for a given context.

Advertisement

wp_kses_one_attr

Filters one HTML attribute and ensures its value is allowed.

wp_kses

Filters text content and strips out disallowed HTML.