Summery Summery
Searches for HTML tags, no matter how malformed.
Syntax Syntax
Description Description
It also matches stray >
characters.
Parameters Parameters
- $string
-
(string) (Required) Content to filter.
- $allowed_html
-
(array) (Required) Allowed HTML elements.
- $allowed_protocols
-
(string[]) (Required) Array of allowed URL protocols.
Return Return
(string) Content with fixed HTML tags
Source Source
File: wp-includes/kses.php
* @return string KSES version number. */ function wp_kses_version() { return '0.2.2'; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |