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