wpsc_pre_init

Located in wp-shopping-cart-php

Functions that call this hook:  init()

Description: It is used to add anything prior to WP-e_commerce initializing.

Similar Hooks: wpsc_init – this is called within the same function but after WP-e-commerce has finished initializing.

Code in context:
[php firstline=”30″ highlight=”41″]
function init() {
// Previous to initializing
do_action( ‘wpsc_pre_init’ );

// Initialize
$this->start();
$this->constants();
$this->includes();
$this->load();

// Finished initializing
do_action( ‘wpsc_init’ );
}
[/php]