wp_pre_kses_less_than( string $text )
Convert lone less than signs.
Description Description
KSES already converts lone greater than signs.
Parameters Parameters
- $text
-
(string) (Required) Text to be converted.
Return Return
(string) Converted text.
Source Source
File: wp-includes/formatting.php
function wp_pre_kses_less_than( $text ) {
return preg_replace_callback( '%<[^>]*?((?=<)|>|$)%', 'wp_pre_kses_less_than_callback', $text );
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |