sfw_localize_script

Description

Prepare some basic configurations for use with javascript

Since: 1.0.0

Code

<?php function sfw_localize_script( $scripthandle ){ 
	 … 
 } ?>

Parameter

$scripthandle
(string) - name of the script to add settings to
$configuration
(array) - a default set of configurations

Return

Seems like the return value of this function is not yet documented.

File

core/components/assets.php