_wp_kses_decode_entities_chr_hexdec

Regex callback for wp_kses_decode_entities().

Description

(string) _wp_kses_decode_entities_chr_hexdec( (array) $match ); 

Returns (string)

Parameters (1)

0. $match (array)
The match.

Usage

  1. if ( !function_exists( '_wp_kses_decode_entities_chr_hexdec' ) ) { 
  2. require_once ABSPATH . WPINC . '/kses.php'; 
  3.  
  4. // The match. 
  5. $match = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = _wp_kses_decode_entities_chr_hexdec($match); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/kses.php  
  1. function _wp_kses_decode_entities_chr_hexdec( $match ) { 
  2. return chr( hexdec( $match[1] ) );