funky_javascript_callback

Callback used to change %uXXXX to &#YYY; syntax.

Description

(string) funky_javascript_callback( (array) $matches ); 

Returns (string)

An HTML entity

Parameters (1)

0. $matches (array)
The matches.

Usage

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

Defined (1)

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

/wp-includes/deprecated.php  
  1. function funky_javascript_callback($matches) { 
  2. return "&#".base_convert($matches[1], 16, 10).";";