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


Parameters

$matches

(array)(Required)Single Match


Top ↑

Return

(string) An HTML entity


Top ↑

Source

File: wp-includes/deprecated.php

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

Top ↑

Changelog

Changelog
VersionDescription
3.0.0This function has been deprecated.
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More