_wp_kses_decode_entities_chr_hexdec() – Regex callback for `wp_kses_decode_entities()`.

You appear to be a bot. Output may be restricted

Description

Regex callback for `wp_kses_decode_entities()`.

Usage

$string = _wp_kses_decode_entities_chr_hexdec( $matches );

Parameters

$matches
( array ) required – preg match

Returns

string

Source

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

1 to 3 of 3
function _wp_kses_decode_entities_chr_hexdec( $matches ) {
  return chr( hexdec( $matches[1] ) );
}
 

 View on GitHub View on Trac