_wp_iso_convert( array $matches ): string

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Helper function to convert hex encoded chars to ASCII.

Parameters

$matchesarrayrequired
The preg_replace_callback matches array.

Return

string Converted chars.

Source

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.