_wp_iso_convert

Helper function to convert hex encoded chars to ASCII.

Description

(string) _wp_iso_convert( (array) $match ); 

Returns (string)

Converted chars

Parameters (1)

0. $match (array)
The preg_replace_callback matches array

Usage

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

Defined (1)

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

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