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.


String. An HTML entity


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


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).";";