_wpsc_admin_localizations

Adds admin javascript to the wp-e-commerce-admin javascript.

Description

_wpsc_admin_localizations( (array) $localizations ); 

Parameters (1)

0. $localizations (array)
Array containing key value pairs, keys are turned into javascript globals with thier associated values

Usage

  1. if ( !function_exists( '_wpsc_admin_localizations' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-admin/admin.php'; 
  3.  
  4. // array containing key value pairs, keys are turned into javascript globals with thier associated values 
  5. $localizations = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = _wpsc_admin_localizations($localizations); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wpsc-admin/admin.php