Documents

  • wpsc_jpeg_quality

    Returns the value to use for image quality when creating jpeg images. By default the quality is set to 75%. … Read more →

  • wpsc_pre_transaction_results

    Display content above the Transaction Results content. A Plugin can add this content to the Transaction Results page: <?php add_filter( … Read more →

  • wpsc_locale

    Change the default language displayed within WP e-Commerce. A Plugin can change the language with the code: <?php add_filter( “wpsc_locale”, … Read more →

  • wpsc_packing_slip_header

    Change the display of the Packing Slip header. A Plugin can alter the Packing Slip header with this code: <?php … Read more →

  • wpsc_shipping_modules

    Filter to allow external plugins to register shipping modules. function my_shipping_add($wpsc_shipping_modules) { global $my_shipping; $my_shipping = new my_shipping(); $wpsc_shipping_modules[$my_shipping->getInternalName()] = … Read more →

  • wpsc_coupon_rule_property_options

    Filter to add another property to the coupon conditions menu.

  • wpsc_google_elements

    The filter wpsc_google_elements is called for each product included in the Google Merchant Centre field. Allows you to add additional … Read more →

  • wpsc_cart_shipping

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

  • wpsc_coupon_rule_property_options

    Located in: admin-form-functions.php Functions that call this hook: wpsc_coupons_conditions() Arguments Accepted: none Version Introduced: 3.8 Description: This filter is triggered … Read more →

  • wpsc_packing_slip_header

    Located in: admin-form-functions.php Functions that call this hook: wpsc_packing_slip() Arguments Accepted: none Version Introduced: 3.8 Description: This filter is triggered … Read more →

  • wpsc_upgrades_cap

    Located in: admin.php Functions that call this hook: wpsc_admin_pages() Arguments Accepted: ‘administrator’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_purchase_logs_cap

    Located in: admin.php Functions that call this hook: wpsc_admin_pages() Arguments Accepted: ‘administrator’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_coupon_cap

    Located in: admin.php Functions that call this hook: wpsc_admin_pages() Arguments Accepted: ‘administrator’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_dashboard_news_cap

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget_setup() Arguments Accepted: ‘manage_options’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_dashboard_sales_summary_cap

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget_setup() Arguments Accepted: ‘manage_options’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_dashboard_quarterly_sales_cap

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget_setup() Arguments Accepted: ‘manage_options’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_dashboard_monthly_sales_cap

    Located in: admin.php Functions that call this hook: wpsc_dashboard_widget_setup() Arguments Accepted: ‘manage_options’ Version Introduced: 3.8.9 Description: Determine which capability is … Read more →

  • wpsc_manage_purchase_logs_custom_column

    Located in: purchase-log-list-table-class.php Functions that call this hook: column_default() Arguments Accepted: $default, $column_name, $item Version Introduced: 3.8.9 Description: This filter … Read more →

  • wpsc_register_post_types_products_args

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: $args Version Introduced: 3.8.9 Description: Use this filter to … Read more →

  • wpsc_register_post_types_product_files_args

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: $args Version Introduced: 3.8.9 Description: Use this filter to … Read more →

  • wpsc_register_taxonomies_product_tag_args

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: $args Version Introduced: 3.8.9 Description: Use this filter to … Read more →

  • wpsc_register_taxonomies_product_category_args

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: $args Version Introduced: 3.8.9 Description: Use this filter to … Read more →

  • wpsc_register_taxonomies_product_variation_args

    Located in: wpsc-functions.php Functions that call this hook: wpsc_register_post_types() Arguments Accepted: $args Version Introduced: 3.8.9 Description: Use this filter to … Read more →

  • wpsc_scale_image_cropped

    Located in: ajax.functions.php Functions that call this hook: wpsc_scale_image() Arguments Accepted: true Version Introduced: 3.8.9 Description: Determine whether to crop … Read more →

  • wpsc_checkout_form_data_get_property

    Located in: checkout-form-data.class.php Functions that call this hook: WPSC_Checkout_Form_Data::get() Arguments Accepted: $value, $key, $this Version Introduced: 3.8.9 Description: Use this … Read more →

  • wpsc_checkout_form_get_data

    Located in: checkout-form-data.class.php Functions that call this hook: WPSC_Checkout_Form_Data::get_data() Arguments Accepted: $data, $purchase_log_id Version Introduced: 3.8.9 Description: Use this filter … Read more →

  • wpsc_checkout_form_gateway_data

    Located in: checkout-form-data.class.php Functions that call this hook: WPSC_Checkout_Form_Data::get_gateway_data() Arguments Accepted: $gateway_data, $purchase_log_id Version Introduced: 3.8.9 Description: Use this filter … Read more →

  • wpsc_coupon_select_item_orderby

    Located in: coupons.class.php Functions that call this hook: get_eligible_items() Arguments Accepted: ‘unit_price’ Version Introduced: 3.8.9 Description: Determine how to order … Read more →

  • wpsc_coupon_select_item_order

    Located in: coupons.class.php Functions that call this hook: get_eligible_items() Arguments Accepted: ‘ASC’ Version Introduced: 3.8.9 Description: Determine how to order … Read more →

  • wpsc_coupon_select_item_field

    Located in: coupons.class.php Functions that call this hook: calculate_discount_conditions() Arguments Accepted: ‘unit_price’ Version Introduced: 3.8.9 Description: If “Apply on all … Read more →

  • wpsc_google_analytics_domain_name

    Located in: google-analytics.class.php Functions that call this hook: get_domain_name() Arguments Accepted: $site_url Version Introduced: 3.8.9 Description: Filter the domain name … Read more →

  • wpsc_google_analytics_site_name

    Located in: google-analytics.class.php Functions that call this hook: get_site_name() Arguments Accepted: $site_name Version Introduced: 3.8.9 Description: Filter the domain name … Read more →

  • wpsc_preview_image_cropping_method

    Located in: misc.functions.php Functions that call this hook: nzshpcrt_display_preview_image() Arguments Accepted: ‘cropping’ Version Introduced: 3.8.9 Description: Specify which scaling method … Read more →

  • wpsc_preview_image_bgcolor

    Located in: misc.functions.php Functions that call this hook: nzshpcrt_display_preview_image() Arguments Accepted: array( 255, 255, 255 ) Version Introduced: 3.8.9 Description: … Read more →

  • wpsc_the_product_price_display_old_price_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $old_price_class, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_the_product_price_display_old_price_amount_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $old_price_amount_class, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_the_product_price_display_price_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $price_class, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_the_product_price_display_price_amount_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $price_amount_lass, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_the_product_price_display_you_save_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $you_save_class, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_the_product_price_display_you_save_amount_class

    Located in: product-template.php Functions that call this hook: wpsc_the_product_price_display() Arguments Accepted: $you_save_amount_class, $product_id Version Introduced: 3.8.9 Description: Filter the class … Read more →

  • wpsc_purchase_log_notification_common_args

    Located in: purchase-log-notification.class.php Functions that call this hook: get_common_args() Arguments Accepted: $args, $this Version Introduced: 3.8.9 Description: Filter the array … Read more →

  • wpsc_purchase_log_notification_product_table_args

    Located in: purchase-log-notification.class.php Functions that call this hook: get_table_args() Arguments Accepted: $args, $this Version Introduced: 3.8.9 Description: Filter the array … Read more →

  • wpsc_email_product_list_plaintext_custom_message

    Located in: purchase-log-notification.class.php Functions that call this hook: create_plaintext_product_list() Arguments Accepted: __( ‘Customization for %s’, ‘wpsc’ ) Version Introduced: 3.8.9 … Read more →

  • wpsc_email_product_list_html_custom_message

    Located in: purchase-log-notification.class.php Functions that call this hook: create_html_product_list() Arguments Accepted: __( ‘Customization for %s’, ‘wpsc’ ) Version Introduced: 3.8.9 … Read more →

  • wpsc_purchase_log_notification_plaintext_args

    Located in: purchase-log-notification.class.php Functions that call this hook: get_plaintext_args() Arguments Accepted: $this->plaintext_args, $this Version Introduced: 3.8.9 Description: Filter the placeholder … Read more →

  • wpsc_purchase_log_notification_html_args

    Located in: purchase-log-notification.class.php Functions that call this hook: get_html_args() Arguments Accepted: $this->html_args, $this Version Introduced: 3.8.9 Description: Filter the placeholder … Read more →

  • wpsc_purchase_log_customer_notification_raw_message

    Located in: purchase-log-notification.class.php Functions that call this hook: WPSC_Purchase_Log_Customer_Notification::get_raw_message() Arguments Accepted: $raw_message, $this Version Introduced: 3.8.9 Description: Filter the customer … Read more →

  • wpsc_purchase_log_admin_notification_raw_message

    Located in: purchase-log-notification.class.php Functions that call this hook: WPSC_Purchase_Log_Admin_Notification::get_raw_message() Arguments Accepted: $raw_message, $this Version Introduced: 3.8.9 Description: Filter the admin … Read more →

  • wpsc_purchase_log_customer_html_notification_raw_message

    Located in: purchase-log-notification.class.php Functions that call this hook: WPSC_Purchase_Log_Customer_HTML_Notification::get_raw_message() Arguments Accepted: $raw_message, $this Version Introduced: 3.8.9 Description: Filter the customer … Read more →

  • wpsc_purchase_log_data

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

  • wpsc_purchase_log_get_property

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

  • wpsc_purchase_log_get_data

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::get_data() Arguments Accepted: $this->data, $this Version Introduced: 3.8.9 Description: Filter purchase log … Read more →

  • wpsc_purchase_log_gateway_data

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::get_gateway_data() Arguments Accepted: $this->gateway_data, $this->data Version Introduced: 3.8.9 Description: Filter purchase log … Read more →

  • wpsc_purchase_log_set_properties

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::set() Arguments Accepted: $properties, $this Version Introduced: 3.8.9 Description: Filter values before … Read more →

  • wpsc_purchase_log_update_data

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $data Version Introduced: 3.8.9 Description: Filter purchase log’s values … Read more →

  • wpsc_purchase_log_insert_data

    Located in: purchase-log.class.php Functions that call this hook: WPSC_Purchase_Log::save() Arguments Accepted: $data Version Introduced: 3.8.9 Description: Filter purchase log’s values … Read more →

  • wpsc_get_purchase_log_html_table

    Located in: purchase-log.helpers.php Functions that call this hook: wpsc_get_purchase_log_html_table() Arguments Accepted: $output, $headings, $rows Version Introduced: 3.8.9 Description: Filter purchase … Read more →

  • wpsc_get_transaction_html_output

    Located in: purchase-log.helpers.php Functions that call this hook: wpsc_get_transaction_html_output() Arguments Accepted: $output, $notification Version Introduced: 3.8.9 Description: Filter transaction result … Read more →

  • wpsc_get_the_post_id_by_shortcode

    Located in: theme.functions.php Functions that call this hook: wpsc_get_the_post_id_by_shortcode() Arguments Accepted: $id, $shortcode Version Introduced: 3.8.9 Description: Filter the post … Read more →

  • wpsc_paypal_pro_accepted_card_types

    Located in: paypal-pro.merchant.php Functions that call this hook: form_paypal_pro() Arguments Accepted: $card_types Version Introduced: 3.8.9 Description: Filter the acceptable cart … Read more →

  • wpsc_shipwire_show_affiliate

    Located in: shipwire_functions.php Functions that call this hook: get_order_xml() Arguments Accepted: false Version Introduced: 3.8.9 Description: Whether to send referring … Read more →

  • wpsc_shipwire_show_declared_value

    Located in: shipwire_functions.php Functions that call this hook: get_order_xml() Arguments Accepted: false Version Introduced: 3.8.9 Description: Whether to send declared … Read more →

  • wpsc_shipwire_show_dimensions

    Located in: shipwire_functions.php Functions that call this hook: get_order_xml() Arguments Accepted: false Version Introduced: 3.8.9 Description: Whether to send dimensions … Read more →

  • get_order_xml

    Located in: shipwire_functions.php Functions that call this hook: get_order_xml() Arguments Accepted: $xml, $log_id Version Introduced: 3.8.9 Description: Filter the XML … Read more →

  • wpsc_shipwire_inventory_warehouse

    Located in: shipwire_functions.php Functions that call this hook: get_inventory_xml() () Arguments Accepted: false Version Introduced: 3.8.9 Description: Ability to query … Read more →

  • get_inventory_xml

    Located in: shipwire_functions.php Functions that call this hook: get_inventory_xml() () Arguments Accepted: false Version Introduced: 3.8.9 Description: Filter the XML … Read more →

  • wpsc_shipwire_tracking_bookmark

    Located in: shipwire_functions.php Functions that call this hook: get_tracking_xml() () Arguments Accepted: 1 Version Introduced: 3.8.9 Description: Filter tracking bookmark … Read more →

  • get_tracking_xml

    Located in: shipwire_functions.php Functions that call this hook: get_tracking_xml() () Arguments Accepted: $xml Version Introduced: 3.8.9 Description: Filter XML output … Read more →

  • wpsc_shipwire_methods

    Located in: shipwire_functions.php Functions that call this hook: fetch_fresh_quotes() () Arguments Accepted: $methods, $quotes Version Introduced: 3.8.9 Description: Filter the … Read more →

  • wpsc_shipwire_rates_cache_expiration

    Located in: shipwire_functions.php Functions that call this hook: fetch_fresh_quotes() Arguments Accepted: 60 * 60 Version Introduced: 3.8.9 Description: Filter the … Read more →

  • wpsc_shipwire_send_tracking_email

    Located in: shipwire_functions.php Functions that call this hook: sync_products() Arguments Accepted: true, $order_id, $tracking_number Version Introduced: 3.8.9 Description: Whether to … Read more →

  • wpsc_specials_widget_no_items_message

    Located in: special_widgets.php Functions that call this hook: wpsc_specials() Arguments Accepted: __( ‘We currently have no items on special.’, ‘wpsc’ … Read more →

  • get_the_product_tags

    Located in: tagging_functions.php Functions that call this hook: wpsc_get_the_product_tags() Arguments Accepted: $tags, $id Version Introduced: 3.8.9 Description: Filter the tags … Read more →

  • the_product_tag_list

    Located in: tagging_functions.php Functions that call this hook: wpsc_get_the_product_tag_list() Arguments Accepted: $tags Version Introduced: 3.8.9 Description: Filter the tag list … Read more →