Warning: This function has been deprecated.
Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
funky_javascript_callback() WordPress Function
The funky_javascript_callback() function is used to call a JavaScript function from within a WordPress theme or plugin. This function is useful for doing things like loading jQuery libraries and other external JavaScript files.
funky_javascript_callback( array $matches ) #
Callback used to change %uXXXX to &#YYY; syntax
Contents
Parameters
- $matches
(array)(Required)Single Match
Return
(string) An HTML entity
Source
File: wp-includes/deprecated.php
function funky_javascript_callback($matches) { return "&#".base_convert($matches[1],16,10).";"; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | This function has been deprecated. |
2.8.0 | Introduced. |