wp_pre_kses_less_than() – Converts lone less than signs.

You appear to be a bot. Output may be restricted

Description

Converts lone less than signs.

KSES already converts lone greater than signs.

Usage

$string = wp_pre_kses_less_than( $content );

Parameters

$content
( string ) required – Text to be converted.

Returns

string Converted text.

Source

File name: wordpress/wp-includes/formatting.php
Lines:

1 to 3 of 3
function wp_pre_kses_less_than( $content ) {
  return preg_replace_callback( '%<[^>]*?((?=<)|>|$)%', 'wp_pre_kses_less_than_callback', $content );
}
 

 View on GitHub View on Trac