Used By
| Used By | Description | 
|---|---|
| wp-includes/formatting.php: _sanitize_text_fields() | Internal helper function to sanitize a string from user input or from the db | 
Convert lone less than signs.
KSES already converts lone greater than signs.
(string) (Required) Text to be converted.
(string) Converted text.
File: wp-includes/formatting.php
function wp_pre_kses_less_than( $text ) {
	return preg_replace_callback( '%<[^>]*?((?=<)|>|$)%', 'wp_pre_kses_less_than_callback', $text );
}  | Version | Description | 
|---|---|
| 2.3.0 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/functions/wp_pre_kses_less_than