wpsc_loaded

Located in: wp-shopping-cart-php

Functions that call this hook: load()

Version Introduced: 3.8

Description: This hook is called once WP-e-Commerce is fully loaded.

Similar actions:
wpsc_pre_load – This is called before the plugin loads.

Code in context:
[php firstline=”110″ highlight=”145″]
/**
* Setup the WPEC core
*/
function load() {
// Before setup
do_action( ‘wpsc_pre_load’ );

// Legacy action
do_action( ‘wpsc_before_init’ );

// Setup the core WPEC globals
wpsc_core_setup_globals();

// Setup the core WPEC cart
wpsc_core_setup_cart();

// Load the thumbnail sizes
wpsc_core_load_thumbnail_sizes();

// Load the purchase log statuses
wpsc_core_load_purchase_log_statuses();

// Load unique names and checout form types
wpsc_core_load_checkout_data();

// Load the gateways
wpsc_core_load_gateways();

// Load the shipping modules
wpsc_core_load_shipping_modules();

// Set page title array for important WPSC pages
wpsc_core_load_page_titles();

// WPEC is fully loaded
do_action( ‘wpsc_loaded’ );
}

[/php]