Documents

  • wpsc_product_addon_after_descr

    Located in: wpsc-single_product.php Functions that call this hook: None – it is located in the single product template. Arguments Accepted: … Read more →

  • wpsc_transaction_result_cart_item

    Located in: wpsc-transaction_results_functions.php Functions that call this hook: transaction_results() Arguments Accepted: $array – Array containing (int)purchase_id, (object)cart_item and (object)purchase_log Version … Read more →

  • wpsc_admin_settings_page

    This function is now deprecated and no longer in the code consider using: do_action(‘wpsc_’ . $this->current_tab_id . ‘_settings_page’) The wpsc_admin_settings_page … Read more →

  • wpsc_taxes_settings_page

    This function is now deprecated and no longer in the code consider using: do_action(‘wpsc_’ . $this->current_tab_id . ‘_settings_page’) The wpsc_taxes_settings_page … Read more →

  • wpsc_shipping_settings_page

    This function is now deprecated and no longer in the code consider using: do_action(‘wpsc_’ . $this->current_tab_id . ‘_settings_page’) The wpsc_shipping_settings_page … Read more →

  • wpsc_general_settings_page

    This function is now deprecated and no longer in the code consider using: do_action(‘wpsc_’ . $this->current_tab_id . ‘_settings_page’) The wpsc_general_settings_page … Read more →

  • wpsc_presentation_settings_page

    This function is now deprecated and no longer in the code consider using: do_action(‘wpsc_’ . $this->current_tab_id . ‘_settings_page’) The wpsc_presentation_settings_page … Read more →

  • wpsc_enqueue_user_script_and_css

    Located in: theme.functions.php Functions that call this hook: wpsc_enqueue_user_script_and_css() Arguments Accepted: none Version Introduced: 3.8 Description:The action wpsc_enqueue_user_script_and_css is triggered … Read more →

  • wpsc_akst_head

    This function is now deprecated and can no longer be used Used to add additional head content into the share-this.php … Read more →

  • wpsc_delete_product

    This action no longer exists in the WP-e-Commerce code Used to add more functionality when deleting a product.

  • wpsc_admin_product_checkbox

    This function is now deprecated and no longer in the code Used to add additional functionality to the product list … Read more →

  • wpsc_additional_sales_amount_info

    Used to add sales amount info to the purchase log list.

  • wpsc_gold_module_activation

    Located in: display-upgrades.page.php Functions that call this hook: wpsc_display_upgrades_page(), Arguments Accepted: None Version Introduced: Pre 3.8 Description: Used to handle … Read more →

  • wpsc_gold_module_activation_forms

    Located in: display-upgrades.page.php Functions that call this hook: wpsc_display_upgrades_page(), Arguments Accepted: None Version Introduced: Pre 3.8 Description: Used to replace … Read more →

  • wpsc_alternate_cart_html

    Located in: ajax.functions.php Functions that call this hook: wpsc_add_to_cart(), wpsc_get_cart(), wpsc_alternate_cart_html(), wpsc_update_item_quantity() Arguments Accepted: wpsc_add_to_cart() function calls the hook and … Read more →

  • 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. … Read more →

  • wpsc_init

    Located in wp-shopping-cart-php Functions that call this hook:  init() Description: It is used to add anything after WP-e-commerce has finished initializing. … Read more →

  • wpsc_started

    Located in: wp-shopping-cart-php Functions that call this hook:  start() Version Introduced: 3.8 or earlier Description: The start function is used … Read more →

  • wpsc_includes

    Located in: wp-shopping-cart-php Functions that call this hook:  includes() Version Introduced: 3.8 or earlier Description: This hook is used to … Read more →

  • wpsc_pre_load

    Located in: wp-shopping-cart-php Functions that call this hook: load() Version Introduced: 3.8 or earlier Description: This hook is called before … Read more →

  • wpsc_before_init

    Located in: wp-shopping-cart-php Functions that call this hook: load() Version Introduced: Pre 3.8 Description: This hook is called before the … Read more →

  • 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 … Read more →

  • wpsc_packing_slip_extra_info

    Located in: admin-form-functions.php Functions that call this hook: wpsc_packing_slip() Arguments Accepted: $purchase_id Version Introduced: 3.8 Description: Use this hook to … Read more →

  • wpsc_add_submenu

    Located in: admin.php Functions that call this hook: wpsc_admin_pages() Arguments Accepted: None Version Introduced: Pre 3.8 Description: Used to add … Read more →

  • wpsc_admin_pre_activity

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget() Arguments Accepted: None Version Introduced: 3.8 Description: wpsc_dashboard_widget() is the callback … Read more →

  • wpsc_admin_post_activity

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget() Arguments Accepted: None Version Introduced: 3.8 Description: wpsc_dashboard_widget() is the callback … Read more →

  • wpsc_before_packing_slip

    Located in: ajax-and-init.php Functions that call this hook: wpsc_display_invoice() Arguments Accepted: $purchase_id Version Introduced: 3.8 Description: Called before any data … Read more →

  • wpsc_packing_slip

    Located in: ajax-and-init.php Functions that call this hook: wpsc_display_invoice() Arguments Accepted: $purchase_id Version Introduced: 3.8 Description: Used by WP-e-Commerce to … Read more →

  • wpsc_billing_details_top

    Located in: display-sales-logs.php Functions that call this hook: wpsc_display_sales_log_index() Arguments Accepted: none Version Introduced: 3.8 Description: Called at the top … Read more →

  • wpsc_billing_details_bottom

    Located in: display-sales-logs.php Functions that call this hook: wpsc_display_sales_log_index() Arguments Accepted: none Version Introduced: 3.8 Description: Called at the bottom … Read more →

  • wpsc_purchlogitem_links_start

    Located in: display-sales-logs.php Functions that call this hook: wpsc_display_sales_log_index() Arguments Accepted: none Version Introduced: 3.8 Description: Called before WP-e-Commerce outputs … Read more →

  • wpsc_add_advanced_options

    Located in: display-items-functions.php Functions that call this hook: wpsc_product_advanced_forms() Arguments Accepted: $post->ID (this is the product id) Version Introduced: 3.8 … Read more →

  • wpsc_edit_product

    Located in: product-functions.php Functions that call this hook: wpsc_admin_submit_product(), wpsc_insert_product() Arguments Accepted: $product_id Version Introduced: 3.8 Description: This hook is … Read more →

  • manage_posts_featured_column

    Located in: products.php Functions that call this hook: wpsc_product_row() Arguments Accepted: $product->ID Version Introduced: 3.8 Description: This hook is called … Read more →

  • wpsc_checkout_form_fields_page

    Located in: checkout.php Functions that call this hook: display() Arguments Accepted: None Version Introduced: 3.8 Description: This hook is called … Read more →

  • wpsc_checkout_settings_page

    Located in: checkout.php Functions that call this hook: display() Arguments Accepted: None Version Introduced: 3.8 Description: This hook is called … Read more →

  • wpsc_update_timeout_terminate

    Located in: updating-functions.php Functions that call this hook: check_timeout() Arguments Accepted: None Version Introduced: 3.8 Description: This hook is called … Read more →

  • wpsc-purchlogitem-links-start

    Located in: wpsc-deprecated.php Functions that call this hook: Arguments Accepted: None Version Introduced: Pre 3.8 Description: This hook is now … Read more →

  • wpsc_update_variation_product

    Located in: ajax.function.php Functions that call this hook: wpsc_update_product_price() Arguments Accepted: $product_id, $variations Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_submit_checkout

    Located in: ajax.functions.php Functions that call this hook: wpsc_submit_checkout() Arguments Accepted: array( “purchase_log_id” => $purchase_log_id, “our_user_id” => $our_user_id ) Version … Read more →

  • wpsc_pre_submit_gateway

    Located in: ajax.functions.php Functions that call this hook: wpsc_submit_checkout() Arguments Accepted: array( &$merchant_instance ) Version Introduced: 3.8 Description: This hook … Read more →

  • wpsc_alter_download_action

    Located in: ajax.function.php Functions that call this hook: wpsc_download_file() Arguments Accepted: $file_id Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_set_cart_item

    Located in: cart.class.php Functions that call this hook: set_item Arguments Accepted: $product_id , $parameters , $this Version Introduced: 3.8 Description: … Read more →

  • wpsc_after_cart_clear_cache

    Located in: cart.class.php Functions that call this hook: clear_cache Arguments Accepted: $this Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_cart_loop_start

    Located in: cart.class.php Functions that call this hook: the_cart_item Arguments Accepted: none Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_cart_loop_end

    Located in: cart.class.php Functions that call this hook: have_cart_items() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_refresh_item

    Located in: cart.class.php Functions that call this hook: refresh_item Arguments Accepted: array( &$this ) Version Introduced: 3.8 Description: This hook … Read more →

  • wpsc_save_cart_item

    Located in: cart.class.php Functions that call this hook: save_to_db Arguments Accepted: $cart_id, $product_id Version Introduced: 3.8 Description: Called at the … Read more →

  • wpsc_checkout_loop_start

    Located in: checkout.class.php Functions that call this hook: the_gateway(), the_checkout_item() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_checkout_loop_end

    Located in: checkout.class.php Functions that call this hook: have_gateways(), have_checkout_items() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_add_to_cart_button_form_begin

    Located in: display.functions.php Functions that call this hook: wpsc_add_to_cart_button() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_add_to_cart_button_form_end

    Located in: display.functions.php Functions that call this hook: wpsc_add_to_cart_button() Arguments Accepted: none Version Introduced: 3.8 Description: Triggered just before the … Read more →

  • wpsc_payment_successful

    Located in: merchant.class.php, payment-gateway.class.php Functions that call this hook: go_to_transaction_results() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_payment_failed

    Located in: merchant.class.php, payment-gateway.class.php Functions that call this hook: go_to_transaction_results() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_payment_incomplete

    Located in: merchant.class.php, payment-gateway.class.php Functions that call this hook: go_to_transaction_results() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is … Read more →

  • wpsc_register_core_theme_files

    Located in: theme.functions.php Functions that call this hook: wpsc_register_core_theme_files() Arguments Accepted: none Version Introduced: 3.8 Description: This hook can be … Read more →

  • wpsc_swap_the_template

    Located in: theme.functions.php Functions that call this hook: wpsc_all_products_on_page() Arguments Accepted: none Version Introduced: 3.8 Description: This function wpsc_all_products_on_page() is … Read more →

  • wpsc_move_theme

    Located in: theming.class.php, presentation.php Functions that call this hook: move_theme(), theme_metabox() Arguments Accepted: none Version Introduced: 3.8 Description: Triggered once … Read more →

  • wpsc_activate_subscription

    Located in: paypal-pro.merchant.php, paypal-standard.merchant.php Functions that call this hook: process_gateway_notification() Arguments Accepted: $cart_row[‘cart_item_id’],(product id) $this->paypal_ipn_values[‘subscr_id’](subscriber_id) Version Introduced: 3.8 Description: triggered … Read more →

  • wpsc_confirm_checkout

    Located in: wpsc-transaction_results_functions.php Functions that call this hook: transaction_results() Arguments Accepted: $purchase_log_id; Version Introduced: 3.8 This action is triggered once … Read more →

  • wpsc_pre_purchase_logs

    Located in: wpsc-user_log_functions.php Functions that call this hook: wpsc_user_details() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_user_log_after_order_status

    Located in: wpsc-user_log_functions.php Functions that call this hook: wpsc_user_details() Arguments Accepted: $purchase Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_before_cart_widget_item_name

    Located in: wpsc-cart_widget.php Functions that call this hook: none this is the cart_widget template file Arguments Accepted: none Version Introduced: … Read more →

  • wpsc_after_cart_widget_item_name

    Located in: wpsc-cart_widget.php Functions that call this hook: none this is the cart_widget template file Arguments Accepted: none Version Introduced: … Read more →

  • wpsc_top_of_products_page

    Located in: wpsc-grid_view.php, wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments … Read more →

  • wpsc_product_before_description

    Located in: wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments Accepted: … Read more →

  • wpsc_product_form_fields_begin

    Located in: wpsc-grid_view.php, wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments … Read more →

  • wpsc_product_form_fields_end

    Located in: wpsc-grid_view.php, wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments … Read more →

  • wpsc_theme_footer

    Located in: wpsc-grid_view.php, wpsc-list_view.php, wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments … Read more →

  • wpsc_product_addons

    Located in: wpsc-products_page.php, wpsc-Single_product.php Functions that call this hook: none this is the product page template files Arguments Accepted: $product_id … Read more →

  • wpsc_additional_user_profile_links

    Located in: wpsc-user-log.php Functions that call this hook: None – this is the user-log template file Arguments Accepted: ‘|’ – … Read more →

  • wpsc_before_checkout_cart_row

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: $product_id Version … Read more →

  • wpsc_before_checkout_cart_item_image

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_after_checkout_cart_item_image

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_before_checkout_cart_item_name

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_after_checkout_cart_item_name

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_after_checkout_cart_row

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: $product_id Version … Read more →

  • wpsc_before_shipping_of_shopping_cart

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_before_form_of_shopping_cart

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_inside_shopping_cart

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_bottom_of_shopping_cart

    Located in: wpsc-shopping_cart_page.php Functions that call this hook: none this is the checkout page template files Arguments Accepted: none Version … Read more →

  • wpsc_constants

    Located in: wp-shopping-cart-php Functions that call this hook: constants() Version Introduced: 3.8 Description: This hook is called after the default … Read more →

  • wpsc_edit_order_status

    Located in: ajax-and-init.php Functions that call this hook: wpsc_purchlog_edit_status() Arguments Accepted: array(‘purchlog_id’=>$purchlog_id, ‘purchlog_data’=>$log_data, ‘new_status’=>$purchlog_status)); Version Introduced: 3.8 Description: This hook … Read more →

  • wpsc_update_payment_gateway_settings

    Located in: ajax-and-init.php Functions that call this hook: wpsc_gateway_settings() Arguments Accepted: none Version Introduced: 3.8 Description: This hook is triggered … Read more →

  • wpsc_register_post_types_after

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: none Version Introduced: 3.8.9 Description: This action hook is … Read more →

  • wpsc_register_taxonomies_after

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: none Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_edit_item

    Located in: cart.class.php Functions that call this hook: wpsc_cart::set_item() Arguments Accepted: $product_id, $parameters, $wpsc_cart Version Introduced: 3.8.9 Description: This action … Read more →

  • wpsc_add_item

    Located in: cart.class.php Functions that call this hook: wpsc_cart::set_item() Arguments Accepted: $product_id, $parameters, $wpsc_cart Version Introduced: 3.8.9 Description: This action … Read more →

  • wpsc_remove_item

    Located in: cart.class.php Functions that call this hook: wpsc_cart::remove_item() Arguments Accepted: $key, $wpsc_cart Version Introduced: 3.8.9 Description: This action is … Read more →

  • wpsc_clear_cart

    Located in: cart.class.php Functions that call this hook: wpsc_cart::empty_cart() Arguments Accepted: $wpsc_cart Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_update_cache

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::update_cache() Arguments Accepted: $log Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_delete_cache

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::delete_cache() Arguments Accepted: $log, $value, $col Version Introduced: 3.8.9 Description: This action … Read more →

  • wpsc_purchase_log_before_delete

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::delete() Arguments Accepted: $log_id Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_delete

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::delete() Arguments Accepted: $log_id Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_fetched

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::fetch() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_pre_save

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_pre_update

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_update

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_pre_insert

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: none Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_purchase_log_insert

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_update_purchase_log_status

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $log_id, $current_status, $previous_status, $purchase_log_object Version Introduced: 3.8.9 Description: This … Read more →

  • wpsc_purchase_log_save

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $purchase_log_object Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_transaction_send_email_to_customer

    Located in: purchase-log.helpers.php Functions that call this hook: wpsc_send_customer_email() Arguments Accepted: $purchase_notification_object, $is_email_sent Version Introduced: 3.8.9 Description: This action is … Read more →

  • wpsc_transaction_send_email_to_admin

    Located in: purchase-log.helpers.php Functions that call this hook: wpsc_send_admin_email() Arguments Accepted: $purchase_notification_object, $is_email_sent Version Introduced: 3.8.9 Description: This action is … Read more →

  • wpsc_dynamic_css

    Located in: theme.functions.php Functions that call this hook: wpsc_get_user_dynamic_css() Arguments Accepted: none Version Introduced: 3.8.9 Description: This action is triggered … Read more →

  • wpsc_activated_subscription

    Located in: paypal-pro.merchant.php, paypal-express.merchant.php Functions that call this hook: process_gateway_notification() Arguments Accepted: $cart_item_id, $merchant_object Version Introduced: 3.8.9 Description: This action … Read more →

  • wpsc_paypal_standard_deactivate_subscription

    Located in: paypal-standard.merchant.php Functions that call this hook: process_gateway_notification() Arguments Accepted: $subscr_id, $merchant_object Version Introduced: 3.8.9 Description: This action is … Read more →

  • wpsc_shipwire_pre_sync

    Located in: shipwire_functions.php Functions that call this hook: sync_products() Arguments Accepted: $tracking, $inventory Version Introduced: 3.8.9 Description: This action is … Read more →

  • wpsc_shipwire_post_sync

    Located in: shipwire_functions.php Functions that call this hook: sync_products() Arguments Accepted: $tracking, $inventory Version Introduced: 3.8.9 Description: This action is … Read more →