function _wpsc_maybe_create_UK() { $country = new WPSC_Country('GB', 'isocode'); if (!$country->exists()) { $country->set(array('id' => 138, 'country' => __('United Kingdom', 'wpsc'), 'currency' => __('Pound Sterling', 'wpsc'), 'symbol' => __('£', 'wpsc'), 'symbol_html' => __('£', 'wpsc'), 'code' => __('GBP', 'wpsc'), 'continent' => 'europe')); $country->save(); } }
function _wpsc_create_south_sudan() { $country = new WPSC_Country(array('id' => '242', 'country' => __('South Sudan', 'wpsc'), 'isocode' => __('SS', 'wpsc'), 'currency' => __('South Sudanese Pound', 'wpsc'), 'code' => __('SSP', 'wpsc'), 'continent' => 'africa')); $country->save(); }
function _wpsc_fix_zimbabwe_currency() { $country = new WPSC_Country('ZW', 'isocode'); $country->set(array('currency' => __('US Dollar', 'wpsc'), 'symbol' => __('$', 'wpsc'), 'symbol_html' => __('$', 'wpsc'), 'code' => 'USD', 'continent' => 'asiapacific')); $country->save(); }