_wpsc_action_init_shipping_method

_wpsc_action_init_shipping_method().

Description

_wpsc_action_init_shipping_method(); 

The cart was setup at the beginning of the init sequence, and that's too early to do shipping calculations because custom taxonomies, types and other plugins may not have been initialized. So we save the shipping method initialization for the end of the init sequence.


Usage

  1. if ( !function_exists( '_wpsc_action_init_shipping_method' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-core/wpsc-constants.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _wpsc_action_init_shipping_method(); 
  7.  

Defined (1)

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

/wpsc-core/wpsc-constants.php