_wp_iso_convert()WP 3.1.0

Helper function to convert hex encoded chars to ASCII.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Return

String. Converted chars.

Usage

_wp_iso_convert( $matches );
$matches(array) (required)
The preg_replace_callback matches array.

Changelog

Since 3.1.0 Introduced.

_wp_iso_convert() code WP 6.5.2

function _wp_iso_convert( $matches ) {
	return chr( hexdec( strtolower( $matches[1] ) ) );
}