funky_javascript_callback()WP 2.8.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

No Hooks.

Return

String. An HTML entity

Usage

funky_javascript_callback( $matches );
$matches(array) (required)
Single Match

Changelog

Since 2.8.0 Introduced.
Deprecated 3.0.0

Code of funky_javascript_callback() WP 6.0

function funky_javascript_callback($matches) {
	return "&#".base_convert($matches[1],16,10).";";
}