WooCommerce Code Reference
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • WooCommerce Docs
  • REST API Docs

Packages

  • None
  • WooCommerce
    • Abstracts
    • Admin
      • Customize
      • Functions
      • Importers
      • Meta
      • Reports
      • System
    • API
    • Classes
      • Data
        • Store
      • Emails
      • Embed
      • Integrations
      • Interfaces
      • Log
        • Handlers
      • Payment
      • Products
      • Shipping
      • Walkers
    • Export
    • Functions
    • Import
    • l10n
    • PaymentTokens
    • PayPal
    • Shortcodes
      • Cart
      • Checkout
      • My
        • Account
      • Order
        • Tracking
    • Webhooks
    • Widgets
  • WP-Background-Processing

Classes

  • WC_Abstract_Legacy_Order
  • WC_Abstract_Legacy_Product
  • WC_Abstract_Order
  • WC_Addons_Gateway_Simplify_Commerce
  • WC_Admin
  • WC_Admin_Addons
  • WC_Admin_API_Keys
  • WC_Admin_API_Keys_Table_List
  • WC_Admin_Assets
  • WC_Admin_Attributes
  • WC_Admin_Customize
  • WC_Admin_Dashboard
  • WC_Admin_Duplicate_Product
  • WC_Admin_Exporters
  • WC_Admin_Help
  • WC_Admin_Importers
  • WC_Admin_List_Table
  • WC_Admin_List_Table_Coupons
  • WC_Admin_List_Table_Orders
  • WC_Admin_List_Table_Products
  • WC_Admin_Log_Table_List
  • WC_Admin_Menus
  • WC_Admin_Meta_Boxes
  • WC_Admin_Notices
  • WC_Admin_Permalink_Settings
  • WC_Admin_Pointers
  • WC_Admin_Post_Types
  • WC_Admin_Profile
  • WC_Admin_Report
  • WC_Admin_Reports
  • WC_Admin_Settings
  • WC_Admin_Setup_Wizard
  • WC_Admin_Status
  • WC_Admin_Taxonomies
  • WC_Admin_Webhooks
  • WC_Admin_Webhooks_Table_List
  • WC_AJAX
  • WC_API
  • WC_API_Authentication
  • WC_API_Coupons
  • WC_API_Customers
  • WC_API_Exception
  • WC_API_Handler
  • WC_API_JSON_Handler
  • WC_API_Orders
  • WC_API_Products
  • WC_API_Reports
  • WC_API_Resource
  • WC_API_Server
  • WC_API_Taxes
  • WC_API_Webhooks
  • WC_API_XML_Handler
  • WC_Auth
  • WC_Autoloader
  • WC_Background_Emailer
  • WC_Background_Process
  • WC_Background_Updater
  • WC_Breadcrumb
  • WC_Cache_Helper
  • WC_Cart
  • WC_Cart_Fees
  • WC_Cart_Session
  • WC_Cart_Totals
  • WC_Checkout
  • WC_CLI
  • WC_CLI_REST_Command
  • WC_CLI_Runner
  • WC_CLI_Tool_Command
  • WC_CLI_Update_Command
  • WC_Comments
  • WC_Countries
  • WC_Coupon
  • WC_Coupon_Data_Store_CPT
  • WC_CSV_Batch_Exporter
  • WC_CSV_Exporter
  • WC_Customer
  • WC_Customer_Data_Store
  • WC_Customer_Data_Store_Session
  • WC_Customer_Download
  • WC_Customer_Download_Data_Store
  • WC_Customer_Download_Log
  • WC_Customer_Download_Log_Data_Store
  • WC_Customizer_Control_Cropping
  • WC_Data
  • WC_Data_Store
  • WC_Data_Store_WP
  • WC_DateTime
  • WC_Deprecated_Action_Hooks
  • WC_Deprecated_Filter_Hooks
  • WC_Deprecated_Hooks
  • WC_Discounts
  • WC_Download_Handler
  • WC_Email
  • WC_Email_Cancelled_Order
  • WC_Email_Customer_Completed_Order
  • WC_Email_Customer_Invoice
  • WC_Email_Customer_New_Account
  • WC_Email_Customer_Note
  • WC_Email_Customer_On_Hold_Order
  • WC_Email_Customer_Processing_Order
  • WC_Email_Customer_Refunded_Order
  • WC_Email_Customer_Reset_Password
  • WC_Email_Failed_Order
  • WC_Email_New_Order
  • WC_Emails
  • WC_Embed
  • WC_Eval_Math
  • WC_Eval_Math_Stack
  • WC_Form_Handler
  • WC_Frontend_Scripts
  • WC_Gateway_BACS
  • WC_Gateway_Cheque
  • WC_Gateway_COD
  • WC_Gateway_Paypal
  • WC_Gateway_Paypal_API_Handler
  • WC_Gateway_Paypal_IPN_Handler
  • WC_Gateway_Paypal_PDT_Handler
  • WC_Gateway_Paypal_Refund
  • WC_Gateway_Paypal_Request
  • WC_Gateway_Paypal_Response
  • WC_Gateway_Simplify_Commerce
  • WC_Geo_IP
  • WC_Geo_IP_Record
  • WC_Geolocation
  • WC_Helper
  • WC_Helper_API
  • WC_Helper_Compat
  • WC_Helper_Options
  • WC_Helper_Plugin_Info
  • WC_Helper_Updater
  • WC_HTTPS
  • WC_Install
  • WC_Integration
  • WC_Integrations
  • WC_Legacy_API
  • WC_Legacy_Cart
  • WC_Legacy_Coupon
  • WC_Legacy_Customer
  • WC_Legacy_Payment_Token
  • WC_Legacy_Shipping_Zone
  • WC_Legacy_Webhook
  • WC_Log_Handler
  • WC_Log_Handler_DB
  • WC_Log_Handler_Email
  • WC_Log_Handler_File
  • WC_Log_Levels
  • WC_Logger
  • WC_Meta_Box_Coupon_Data
  • WC_Meta_Box_Order_Actions
  • WC_Meta_Box_Order_Data
  • WC_Meta_Box_Order_Downloads
  • WC_Meta_Box_Order_Items
  • WC_Meta_Box_Order_Notes
  • WC_Meta_Box_Product_Data
  • WC_Meta_Box_Product_Images
  • WC_Meta_Box_Product_Reviews
  • WC_Meta_Box_Product_Short_Description
  • WC_Meta_Data
  • WC_Object_Query
  • WC_Order
  • WC_Order_Data_Store_CPT
  • WC_Order_Factory
  • WC_Order_Item
  • WC_Order_Item_Coupon
  • WC_Order_Item_Coupon_Data_Store
  • WC_Order_Item_Data_Store
  • WC_Order_Item_Fee
  • WC_Order_Item_Fee_Data_Store
  • WC_Order_Item_Meta
  • WC_Order_Item_Product
  • WC_Order_Item_Product_Data_Store
  • WC_Order_Item_Shipping
  • WC_Order_Item_Shipping_Data_Store
  • WC_Order_Item_Tax
  • WC_Order_Item_Tax_Data_Store
  • WC_Order_Query
  • WC_Order_Refund
  • WC_Order_Refund_Data_Store_CPT
  • WC_Payment_Gateway
  • WC_Payment_Gateway_CC
  • WC_Payment_Gateway_eCheck
  • WC_Payment_Gateways
  • WC_Payment_Token
  • WC_Payment_Token_CC
  • WC_Payment_Token_Data_Store
  • WC_Payment_Token_eCheck
  • WC_Payment_Tokens
  • WC_Plugin_Updates
  • WC_Plugins_Screen_Updates
  • WC_Post_Data
  • WC_Post_types
  • WC_Product
  • WC_Product_Attribute
  • WC_Product_Cat_Dropdown_Walker
  • WC_Product_Cat_List_Walker
  • WC_Product_CSV_Exporter
  • WC_Product_CSV_Importer
  • WC_Product_CSV_Importer_Controller
  • WC_Product_Data_Store_CPT
  • WC_Product_Download
  • WC_Product_External
  • WC_Product_Factory
  • WC_Product_Grouped
  • WC_Product_Grouped_Data_Store_CPT
  • WC_Product_Importer
  • WC_Product_Query
  • WC_Product_Simple
  • WC_Product_Variable
  • WC_Product_Variable_Data_Store_CPT
  • WC_Product_Variation
  • WC_Product_Variation_Data_Store_CPT
  • WC_Query
  • WC_Regenerate_Images
  • WC_Regenerate_Images_Request
  • WC_Register_WP_Admin_Settings
  • WC_Report_Coupon_Usage
  • WC_Report_Customer_List
  • WC_Report_Customers
  • WC_Report_Downloads
  • WC_Report_Low_In_Stock
  • WC_Report_Most_Stocked
  • WC_Report_Out_Of_Stock
  • WC_Report_Sales_By_Category
  • WC_Report_Sales_By_Date
  • WC_Report_Sales_By_Product
  • WC_Report_Stock
  • WC_Report_Taxes_By_Code
  • WC_Report_Taxes_By_Date
  • WC_REST_Authentication
  • WC_REST_Controller
  • WC_REST_Coupons_Controller
  • WC_REST_Coupons_V1_Controller
  • WC_REST_CRUD_Controller
  • WC_REST_Customer_Downloads_Controller
  • WC_REST_Customer_Downloads_V1_Controller
  • WC_REST_Customers_Controller
  • WC_REST_Customers_V1_Controller
  • WC_REST_Legacy_Coupons_Controller
  • WC_REST_Legacy_Orders_Controller
  • WC_REST_Legacy_Products_Controller
  • WC_REST_Order_Notes_Controller
  • WC_REST_Order_Notes_V1_Controller
  • WC_REST_Order_Refunds_Controller
  • WC_REST_Order_Refunds_V1_Controller
  • WC_REST_Orders_Controller
  • WC_REST_Orders_V1_Controller
  • WC_REST_Payment_Gateways_Controller
  • WC_REST_Posts_Controller
  • WC_REST_Product_Attribute_Terms_Controller
  • WC_REST_Product_Attribute_Terms_V1_Controller
  • WC_REST_Product_Attributes_Controller
  • WC_REST_Product_Attributes_V1_Controller
  • WC_REST_Product_Categories_Controller
  • WC_REST_Product_Categories_V1_Controller
  • WC_REST_Product_Reviews_Controller
  • WC_REST_Product_Reviews_V1_Controller
  • WC_REST_Product_Shipping_Classes_Controller
  • WC_REST_Product_Shipping_Classes_V1_Controller
  • WC_REST_Product_Tags_Controller
  • WC_REST_Product_Tags_V1_Controller
  • WC_REST_Product_Variations_Controller
  • WC_REST_Products_Controller
  • WC_REST_Products_V1_Controller
  • WC_REST_Report_Sales_Controller
  • WC_REST_Report_Sales_V1_Controller
  • WC_REST_Report_Top_Sellers_Controller
  • WC_REST_Report_Top_Sellers_V1_Controller
  • WC_REST_Reports_Controller
  • WC_REST_Reports_V1_Controller
  • WC_REST_Setting_Options_Controller
  • WC_REST_Settings_Controller
  • WC_REST_Shipping_Methods_Controller
  • WC_REST_Shipping_Zone_Locations_Controller
  • WC_REST_Shipping_Zone_Methods_Controller
  • WC_REST_Shipping_Zones_Controller
  • WC_REST_Shipping_Zones_Controller_Base
  • WC_REST_System_Status_Controller
  • WC_REST_System_Status_Tools_Controller
  • WC_REST_Tax_Classes_Controller
  • WC_REST_Tax_Classes_V1_Controller
  • WC_REST_Taxes_Controller
  • WC_REST_Taxes_V1_Controller
  • WC_REST_Terms_Controller
  • WC_REST_Webhook_Deliveries_Controller
  • WC_REST_Webhook_Deliveries_V1_Controller
  • WC_REST_Webhooks_Controller
  • WC_REST_Webhooks_V1_Controller
  • WC_Session
  • WC_Session_Handler
  • WC_Settings_Accounts
  • WC_Settings_API
  • WC_Settings_Emails
  • WC_Settings_General
  • WC_Settings_Integrations
  • WC_Settings_Page
  • WC_Settings_Payment_Gateways
  • WC_Settings_Products
  • WC_Settings_Rest_API
  • WC_Settings_Shipping
  • WC_Settings_Tax
  • WC_Shipping
  • WC_Shipping_Flat_Rate
  • WC_Shipping_Free_Shipping
  • WC_Shipping_Legacy_Flat_Rate
  • WC_Shipping_Legacy_Free_Shipping
  • WC_Shipping_Legacy_International_Delivery
  • WC_Shipping_Legacy_Local_Delivery
  • WC_Shipping_Legacy_Local_Pickup
  • WC_Shipping_Local_Pickup
  • WC_Shipping_Method
  • WC_Shipping_Rate
  • WC_Shipping_Zone
  • WC_Shipping_Zone_Data_Store
  • WC_Shipping_Zones
  • WC_Shop_Customizer
  • WC_Shortcode_Cart
  • WC_Shortcode_Checkout
  • WC_Shortcode_My_Account
  • WC_Shortcode_Order_Tracking
  • WC_Shortcode_Products
  • WC_Shortcodes
  • WC_Structured_Data
  • WC_Tax
  • WC_Tax_Rate_Importer
  • WC_Template_Loader
  • WC_Tracker
  • WC_Twenty_Eleven
  • WC_Twenty_Fifteen
  • WC_Twenty_Fourteen
  • WC_Twenty_Seventeen
  • WC_Twenty_Sixteen
  • WC_Twenty_Ten
  • WC_Twenty_Thirteen
  • WC_Twenty_Twelve
  • WC_Updates_Screen_Updates
  • WC_Validation
  • WC_Webhook
  • WC_Webhook_Data_Store
  • WC_Widget
  • WC_Widget_Cart
  • WC_Widget_Layered_Nav
  • WC_Widget_Layered_Nav_Filters
  • WC_Widget_Price_Filter
  • WC_Widget_Product_Categories
  • WC_Widget_Product_Search
  • WC_Widget_Product_Tag_Cloud
  • WC_Widget_Products
  • WC_Widget_Rating_Filter
  • WC_Widget_Recent_Reviews
  • WC_Widget_Recently_Viewed
  • WC_Widget_Top_Rated_Products

Interfaces

  • WC_Abstract_Order_Data_Store_Interface
  • WC_Coupon_Data_Store_Interface
  • WC_Customer_Data_Store_Interface
  • WC_Customer_Download_Data_Store_Interface
  • WC_Customer_Download_Log_Data_Store_Interface
  • WC_Importer_Interface
  • WC_Log_Handler_Interface
  • WC_Logger_Interface
  • WC_Object_Data_Store_Interface
  • WC_Order_Data_Store_Interface
  • WC_Order_Item_Data_Store_Interface
  • WC_Order_Item_Product_Data_Store_Interface
  • WC_Order_Item_Type_Data_Store_Interface
  • WC_Order_Refund_Data_Store_Interface
  • WC_Payment_Token_Data_Store_Interface
  • WC_Product_Data_Store_Interface
  • WC_Product_Variable_Data_Store_Interface
  • WC_Shipping_Zone_Data_Store_Interface
  • WC_Webhook_Data_Store_Interface

Exceptions

  • WC_Data_Exception
  • WC_REST_Exception

WooCommerce Code Reference

Packages summary

Classes summary

WC_Abstract_Legacy_Order Legacy Abstract Order
WC_Abstract_Legacy_Product Legacy Abstract Product
WC_Abstract_Order Abstract Order
WC_Addons_Gateway_Simplify_Commerce Simplify Commerce Gateway for subscriptions.
WC_Admin WC_Admin class.
WC_Admin_Addons WC_Admin_Addons Class.
WC_Admin_API_Keys WC_Admin_API_Keys.
WC_Admin_API_Keys_Table_List
WC_Admin_Assets WC_Admin_Assets Class.
WC_Admin_Attributes WC_Admin_Attributes Class.
WC_Admin_Customize WC_Admin_Customize Class.
WC_Admin_Dashboard WC_Admin_Dashboard Class.
WC_Admin_Duplicate_Product WC_Admin_Duplicate_Product Class.
WC_Admin_Exporters WC_Admin_Exporters Class.
WC_Admin_Help WC_Admin_Help Class.
WC_Admin_Importers WC_Admin_Importers Class.
WC_Admin_List_Table WC_Admin_List_Table Class.
WC_Admin_List_Table_Coupons WC_Admin_List_Table_Coupons Class.
WC_Admin_List_Table_Orders WC_Admin_List_Table_Orders Class.
WC_Admin_List_Table_Products WC_Admin_List_Table_Products Class.
WC_Admin_Log_Table_List
WC_Admin_Menus WC_Admin_Menus Class.
WC_Admin_Meta_Boxes WC_Admin_Meta_Boxes.
WC_Admin_Notices WC_Admin_Notices Class.
WC_Admin_Permalink_Settings WC_Admin_Permalink_Settings Class.
WC_Admin_Pointers WC_Admin_Pointers Class.
WC_Admin_Post_Types WC_Admin_Post_Types Class.
WC_Admin_Profile WC_Admin_Profile Class.
WC_Admin_Report Admin Report.
WC_Admin_Reports WC_Admin_Reports Class.
WC_Admin_Settings WC_Admin_Settings Class.
WC_Admin_Setup_Wizard WC_Admin_Setup_Wizard class.
WC_Admin_Status WC_Admin_Status Class.
WC_Admin_Taxonomies WC_Admin_Taxonomies class.
WC_Admin_Webhooks WC_Admin_Webhooks.
WC_Admin_Webhooks_Table_List Webooks table list class.
WC_AJAX WooCommerce WC_AJAX.
WC_API API class.
WC_API_Authentication
WC_API_Coupons
WC_API_Customers
WC_API_Exception
WC_API_Handler
WC_API_JSON_Handler
WC_API_Orders
WC_API_Products
WC_API_Reports
WC_API_Resource
WC_API_Server
WC_API_Taxes
WC_API_Webhooks
WC_API_XML_Handler
WC_Auth
WC_Autoloader WooCommerce Autoloader.
WC_Background_Emailer WC_Background_Emailer Class.
WC_Background_Process WC_Background_Process class.
WC_Background_Updater WC_Background_Updater Class.
WC_Breadcrumb WC_Breadcrumb class.
WC_Cache_Helper WC_Cache_Helper.
WC_Cart WC_Cart class.
WC_Cart_Fees WC_Cart_Fees class.
WC_Cart_Session WC_Cart_Session class.
WC_Cart_Totals WC_Cart_Totals class.
WC_Checkout Main checkout class.
WC_CLI Enables WooCommerce, via the the command line.
WC_CLI_REST_Command Main Command for WooCommere CLI.
WC_CLI_Runner WC API to WC CLI Bridge.
WC_CLI_Tool_Command Hooks up our system status tools to the CLI.
WC_CLI_Update_Command Allows updates via CLI.
WC_Comments Comments
WC_Countries The WooCommerce countries class stores country/state data.
WC_Coupon WooCommerce coupons.
WC_Coupon_Data_Store_CPT WC Coupon Data Store: Custom Post Type.
WC_CSV_Batch_Exporter WC_CSV_Exporter Class.
WC_CSV_Exporter WC_CSV_Exporter Class.
WC_Customer The WooCommerce customer class handles storage of the current customer's data, such as location.
WC_Customer_Data_Store WC Customer Data Store.
WC_Customer_Data_Store_Session WC Customer Data Store which stores the data in session.
WC_Customer_Download Class for customer download permissions.
WC_Customer_Download_Data_Store WC Customer Download Data Store.
WC_Customer_Download_Log WC_Customer_Download_Log.
WC_Customer_Download_Log_Data_Store WC Customer Download Log Data Store.
WC_Customizer_Control_Cropping WC_Customizer_Control_Cropping class.
WC_Data Abstract WC Data Class
WC_Data_Store WC Data Store.
WC_Data_Store_WP

Shared logic for WP based data. Contains functions like meta handling for all default data stores. Your own data store doesn't need to use WC_Data_Store_WP -- you can write your own meta handling functions.

WC_DateTime

WC Wrapper for PHP DateTime which adds support for gmt/utc offset when a timezone is absent.

WC_Deprecated_Action_Hooks Handles deprecation notices and triggering of legacy action hooks.
WC_Deprecated_Filter_Hooks Handles deprecation notices and triggering of legacy filter hooks
WC_Deprecated_Hooks WC_Deprecated_Hooks class maps old actions and filters to new ones. This is the base class for handling those deprecated hooks.
WC_Discounts Discounts class.
WC_Download_Handler Download handler.
WC_Email Email Class
WC_Email_Cancelled_Order Cancelled Order Email.
WC_Email_Customer_Completed_Order Customer Completed Order Email.
WC_Email_Customer_Invoice Customer Invoice.
WC_Email_Customer_New_Account Customer New Account.
WC_Email_Customer_Note Customer Note Order Email.
WC_Email_Customer_On_Hold_Order Customer On-hold Order Email.
WC_Email_Customer_Processing_Order Customer Processing Order Email.
WC_Email_Customer_Refunded_Order Customer Refunded Order Email.
WC_Email_Customer_Reset_Password Customer Reset Password.
WC_Email_Failed_Order Failed Order Email.
WC_Email_New_Order New Order Email.
WC_Emails Transactional Emails Controller
WC_Embed Embed Class which handles any WooCommerce Products that are embedded on this site or another site.
WC_Eval_Math Class WC_Eval_Math. Supports basic math only (removed eval function).
WC_Eval_Math_Stack Class WC_Eval_Math_Stack.
WC_Form_Handler Handle frontend forms.
WC_Frontend_Scripts WC_Frontend_Scripts Class.
WC_Gateway_BACS Bank Transfer Payment Gateway.
WC_Gateway_Cheque Cheque Payment Gateway.
WC_Gateway_COD Cash on Delivery Gateway.
WC_Gateway_Paypal WC_Gateway_Paypal Class.
WC_Gateway_Paypal_API_Handler Handles Refunds and other API requests such as capture.
WC_Gateway_Paypal_IPN_Handler WC_Gateway_Paypal_IPN_Handler class.
WC_Gateway_Paypal_PDT_Handler Handle PDT Responses from PayPal.
WC_Gateway_Paypal_Refund Here for backwards compatibility.
WC_Gateway_Paypal_Request Generates requests to send to PayPal.
WC_Gateway_Paypal_Response Handles Responses.
WC_Gateway_Simplify_Commerce Simplify Commerce Gateway.
WC_Geo_IP WC_Geo_IP Class.
WC_Geo_IP_Record Geo IP Record class.
WC_Geolocation WC_Geolocation Class.
WC_Helper WC_Helper Class
WC_Helper_API WC_Helper_API Class
WC_Helper_Compat WC_Helper_Compat Class
WC_Helper_Options WC_Helper_Options Class
WC_Helper_Plugin_Info WC_Helper_Plugin_Info Class
WC_Helper_Updater WC_Helper_Updater Class
WC_HTTPS WC_HTTPS class.
WC_Install WC_Install Class.
WC_Integration Abstract Integration Class
WC_Integrations WooCommerce Integrations class
WC_Legacy_API Legacy API.
WC_Legacy_Cart Legacy cart class.
WC_Legacy_Coupon Legacy Coupon.
WC_Legacy_Customer Legacy Customer.
WC_Legacy_Payment_Token

Legacy Payment Tokens. Payment Tokens were introduced in 2.6.0 with create and update as methods. Major CRUD changes occurred in 3.0, so these were deprecated (save and delete still work). This legacy class is for backwards compatibility in case any code called ->read, ->update or ->create directly on the object.

WC_Legacy_Shipping_Zone Legacy Shipping Zone.
WC_Legacy_Webhook Legacy Webhook class.
WC_Log_Handler Abstract WC Log Handler Class
WC_Log_Handler_DB Handles log entries by writing to database.
WC_Log_Handler_Email Handles log entries by sending an email.
WC_Log_Handler_File Handles log entries by writing to a file.
WC_Log_Levels Standard log levels
WC_Logger Provides logging capabilities for debugging purposes.
WC_Meta_Box_Coupon_Data WC_Meta_Box_Coupon_Data Class.
WC_Meta_Box_Order_Actions WC_Meta_Box_Order_Actions Class.
WC_Meta_Box_Order_Data WC_Meta_Box_Order_Data Class.
WC_Meta_Box_Order_Downloads WC_Meta_Box_Order_Downloads Class.
WC_Meta_Box_Order_Items WC_Meta_Box_Order_Items Class.
WC_Meta_Box_Order_Notes WC_Meta_Box_Order_Notes Class.
WC_Meta_Box_Product_Data WC_Meta_Box_Product_Data Class.
WC_Meta_Box_Product_Images WC_Meta_Box_Product_Images Class.
WC_Meta_Box_Product_Reviews WC_Meta_Box_Product_Reviews
WC_Meta_Box_Product_Short_Description WC_Meta_Box_Product_Short_Description Class.
WC_Meta_Data WC_Meta_Data class.
WC_Object_Query Abstract WC Object Query Class
WC_Order Order Class.
WC_Order_Data_Store_CPT WC Order Data Store: Stored in CPT.
WC_Order_Factory Order Factory Class
WC_Order_Item Order Item
WC_Order_Item_Coupon Order Line Item (coupon).
WC_Order_Item_Coupon_Data_Store WC Order Item Coupon Data Store
WC_Order_Item_Data_Store WC Order Item Data Store: Misc Order Item Data functions.
WC_Order_Item_Fee Order Line Item (fee).
WC_Order_Item_Fee_Data_Store WC Order Item Fee Data Store
WC_Order_Item_Meta Order Item Meta
WC_Order_Item_Product Order Line Item (product).
WC_Order_Item_Product_Data_Store WC Order Item Product Data Store
WC_Order_Item_Shipping Order Line Item (shipping).
WC_Order_Item_Shipping_Data_Store WC Order Item Shipping Data Store
WC_Order_Item_Tax Order Line Item (tax).
WC_Order_Item_Tax_Data_Store WC Order Item Tax Data Store
WC_Order_Query

Class for parameter-based Order querying. Args and usage: https://github.com/woocommerce/woocommerce/wiki/wc_get_orders-and-WC_Order_Query

WC_Order_Refund

Order refund. Refunds are based on orders (essentially negative orders) and contain much of the same data.

WC_Order_Refund_Data_Store_CPT WC Order Refund Data Store: Stored in CPT.
WC_Payment_Gateway WooCommerce Payment Gateway class.
WC_Payment_Gateway_CC Credit Card Payment Gateway
WC_Payment_Gateway_eCheck eCheck Payment Gateway
WC_Payment_Gateways WooCommerce Payment Gateways class
WC_Payment_Token WooCommerce Payment Token.
WC_Payment_Token_CC WooCommerce Credit Card Payment Token.
WC_Payment_Token_Data_Store WC Payment Token Data Store: Custom Table.
WC_Payment_Token_eCheck WooCommerce eCheck Payment Token.
WC_Payment_Tokens WooCommerce Payment Tokens.
WC_Plugin_Updates WC_Admin_Plugin_Updates Class.
WC_Plugins_Screen_Updates WC_Admin_Plugin_Updates Class.
WC_Post_Data Post Data.
WC_Post_types WC_Post_types Class.
WC_Product Abstract Product Class
WC_Product_Attribute Represents a product attribute.
WC_Product_Cat_Dropdown_Walker
WC_Product_Cat_List_Walker
WC_Product_CSV_Exporter WC_Product_CSV_Exporter Class.
WC_Product_CSV_Importer WC_Product_CSV_Importer Class.
WC_Product_CSV_Importer_Controller Product importer controller - handles file upload and forms in admin.
WC_Product_Data_Store_CPT WC Product Data Store: Stored in CPT.
WC_Product_Download Represents a file which can be downloaded.
WC_Product_External External Product Class.
WC_Product_Factory Product Factory Class
WC_Product_Grouped Grouped Product Class.
WC_Product_Grouped_Data_Store_CPT WC Grouped Product Data Store: Stored in CPT.
WC_Product_Importer WC_Product_Importer Class.
WC_Product_Query

Class for parameter-based Product querying. Args and usage: https://github.com/woocommerce/woocommerce/wiki/wc_get_products-and-WC_Product_Query

WC_Product_Simple Simple Product Class.
WC_Product_Variable Variable Product Class.
WC_Product_Variable_Data_Store_CPT WC Variable Product Data Store: Stored in CPT.
WC_Product_Variation Product Variation Class.
WC_Product_Variation_Data_Store_CPT WC Variation Product Data Store: Stored in CPT.
WC_Query WC_Query Class.
WC_Regenerate_Images Regenerate Images Class
WC_Regenerate_Images_Request Class that extends WC_Background_Process to process image regeneration in the background.
WC_Register_WP_Admin_Settings Take settings registered for WP-Admin and hooks them up to the REST API.
WC_Report_Coupon_Usage WC_Report_Coupon_Usage
WC_Report_Customer_List WC_Report_Customer_List.
WC_Report_Customers WC_Report_Customers
WC_Report_Downloads WC_Report_Downloads.
WC_Report_Low_In_Stock WC_Report_Low_In_Stock.
WC_Report_Most_Stocked WC_Report_Most_Stocked.
WC_Report_Out_Of_Stock WC_Report_Out_Of_Stock.
WC_Report_Sales_By_Category WC_Report_Sales_By_Category
WC_Report_Sales_By_Date WC_Report_Sales_By_Date
WC_Report_Sales_By_Product WC_Report_Sales_By_Product
WC_Report_Stock WC_Report_Stock.
WC_Report_Taxes_By_Code WC_Report_Taxes_By_Code
WC_Report_Taxes_By_Date WC_Report_Taxes_By_Date
WC_REST_Authentication
WC_REST_Controller Abstract Rest Controller Class
WC_REST_Coupons_Controller REST API Coupons controller class.
WC_REST_Coupons_V1_Controller REST API Coupons controller class.
WC_REST_CRUD_Controller WC_REST_CRUD_Controller class.
WC_REST_Customer_Downloads_Controller REST API Customers controller class.
WC_REST_Customer_Downloads_V1_Controller REST API Customers controller class.
WC_REST_Customers_Controller REST API Customers controller class.
WC_REST_Customers_V1_Controller REST API Customers controller class.
WC_REST_Legacy_Coupons_Controller REST API Legacy Coupons controller class.
WC_REST_Legacy_Orders_Controller REST API Legacy Orders controller class.
WC_REST_Legacy_Products_Controller REST API Legacy Products controller class.
WC_REST_Order_Notes_Controller REST API Order Notes controller class.
WC_REST_Order_Notes_V1_Controller REST API Order Notes controller class.
WC_REST_Order_Refunds_Controller REST API Order Refunds controller class.
WC_REST_Order_Refunds_V1_Controller REST API Order Refunds controller class.
WC_REST_Orders_Controller REST API Orders controller class.
WC_REST_Orders_V1_Controller REST API Orders controller class.
WC_REST_Payment_Gateways_Controller
WC_REST_Posts_Controller Abstract Rest Posts Controller Class
WC_REST_Product_Attribute_Terms_Controller REST API Product Attribute Terms controller class.
WC_REST_Product_Attribute_Terms_V1_Controller REST API Product Attribute Terms controller class.
WC_REST_Product_Attributes_Controller REST API Product Attributes controller class.
WC_REST_Product_Attributes_V1_Controller REST API Product Attributes controller class.
WC_REST_Product_Categories_Controller REST API Product Categories controller class.
WC_REST_Product_Categories_V1_Controller REST API Product Categories controller class.
WC_REST_Product_Reviews_Controller REST API Product Reviews Controller Class.
WC_REST_Product_Reviews_V1_Controller REST API Product Reviews Controller Class.
WC_REST_Product_Shipping_Classes_Controller REST API Product Shipping Classes controller class.
WC_REST_Product_Shipping_Classes_V1_Controller REST API Product Shipping Classes controller class.
WC_REST_Product_Tags_Controller REST API Product Tags controller class.
WC_REST_Product_Tags_V1_Controller REST API Product Tags controller class.
WC_REST_Product_Variations_Controller REST API variations controller class.
WC_REST_Products_Controller REST API Products controller class.
WC_REST_Products_V1_Controller REST API Products controller class.
WC_REST_Report_Sales_Controller REST API Report Sales controller class.
WC_REST_Report_Sales_V1_Controller REST API Report Sales controller class.
WC_REST_Report_Top_Sellers_Controller REST API Report Top Sellers controller class.
WC_REST_Report_Top_Sellers_V1_Controller REST API Report Top Sellers controller class.
WC_REST_Reports_Controller REST API Reports controller class.
WC_REST_Reports_V1_Controller REST API Reports controller class.
WC_REST_Setting_Options_Controller REST API Setting Options controller class.
WC_REST_Settings_Controller REST API Settings controller class.
WC_REST_Shipping_Methods_Controller
WC_REST_Shipping_Zone_Locations_Controller REST API Shipping Zone Locations class.
WC_REST_Shipping_Zone_Methods_Controller REST API Shipping Zone Methods class.
WC_REST_Shipping_Zones_Controller REST API Shipping Zones class.
WC_REST_Shipping_Zones_Controller_Base REST API Shipping Zones base class.
WC_REST_System_Status_Controller
WC_REST_System_Status_Tools_Controller
WC_REST_Tax_Classes_Controller REST API Tax Classes controller class.
WC_REST_Tax_Classes_V1_Controller REST API Tax Classes controller class.
WC_REST_Taxes_Controller REST API Taxes controller class.
WC_REST_Taxes_V1_Controller REST API Taxes controller class.
WC_REST_Terms_Controller Terms controller class.
WC_REST_Webhook_Deliveries_Controller REST API Webhook Deliveries controller class.
WC_REST_Webhook_Deliveries_V1_Controller REST API Webhook Deliveries controller class.
WC_REST_Webhooks_Controller REST API Webhooks controller class.
WC_REST_Webhooks_V1_Controller REST API Webhooks controller class.
WC_Session WC_Session
WC_Session_Handler WC_Session_Handler
WC_Settings_Accounts WC_Settings_Accounts.
WC_Settings_API Abstract Settings API Class
WC_Settings_Emails WC_Settings_Emails.
WC_Settings_General WC_Admin_Settings_General.
WC_Settings_Integrations WC_Settings_Integrations.
WC_Settings_Page WC_Settings_Page.
WC_Settings_Payment_Gateways WC_Settings_Payment_Gateways.
WC_Settings_Products WC_Settings_Products.
WC_Settings_Rest_API WC_Settings_Rest_API.
WC_Settings_Shipping WC_Settings_Shipping.
WC_Settings_Tax WC_Settings_Tax.
WC_Shipping WC_Shipping
WC_Shipping_Flat_Rate Flat Rate Shipping Method.
WC_Shipping_Free_Shipping Free Shipping Method.
WC_Shipping_Legacy_Flat_Rate Flat Rate Shipping Method.
WC_Shipping_Legacy_Free_Shipping Free Shipping Method.
WC_Shipping_Legacy_International_Delivery International Delivery - Based on the Flat Rate Shipping Method.
WC_Shipping_Legacy_Local_Delivery Local Delivery Shipping Method.
WC_Shipping_Legacy_Local_Pickup Local Pickup Shipping Method.
WC_Shipping_Local_Pickup Local Pickup Shipping Method.
WC_Shipping_Method WooCommerce Shipping Method Class.
WC_Shipping_Rate WooCommerce Shipping Rate Class.
WC_Shipping_Zone Represents a single shipping zone
WC_Shipping_Zone_Data_Store WC Shipping Zone Data Store.
WC_Shipping_Zones Shipping zones class.
WC_Shop_Customizer WC_Shop_Customizer class.
WC_Shortcode_Cart Cart Shortcode
WC_Shortcode_Checkout Checkout Shortcode
WC_Shortcode_My_Account My Account Shortcodes
WC_Shortcode_Order_Tracking Order Tracking Shortcode
WC_Shortcode_Products Products shortcode class.
WC_Shortcodes WooCommerce Shortcodes class.
WC_Structured_Data WC_Structured_Data class.
WC_Tax Performs tax calculations and loads tax rates
WC_Tax_Rate_Importer Tax Rates importer - import tax rates and local tax rates into WooCommerce.
WC_Template_Loader WC_Template_Loader.
WC_Tracker
WC_Twenty_Eleven WC_Twenty_Eleven class.
WC_Twenty_Fifteen WC_Twenty_Fifteen class.
WC_Twenty_Fourteen WC_Twenty_Fourteen class.
WC_Twenty_Seventeen WC_Twenty_Seventeen class.
WC_Twenty_Sixteen WC_Twenty_Sixteen class.
WC_Twenty_Ten WC_Twenty_Ten class.
WC_Twenty_Thirteen WC_Twenty_Thirteen class.
WC_Twenty_Twelve WC_Twenty_Twelve class.
WC_Updates_Screen_Updates WC_Admin_Plugin_Updates Class.
WC_Validation Contains Validation functions
WC_Webhook Webhook class.
WC_Webhook_Data_Store Webhook data store class.
WC_Widget Abstract Widget Class
WC_Widget_Cart Shopping Cart Widget.
WC_Widget_Layered_Nav Layered Navigation Widget.
WC_Widget_Layered_Nav_Filters Layered Navigation Filters Widget.
WC_Widget_Price_Filter Price Filter Widget and related functions.
WC_Widget_Product_Categories Product categories widget class.
WC_Widget_Product_Search Product Search Widget.
WC_Widget_Product_Tag_Cloud Tag Cloud Widget.
WC_Widget_Products List products. One widget to rule them all.
WC_Widget_Rating_Filter Rating Filter Widget and related functions.
WC_Widget_Recent_Reviews Recent Reviews Widget.
WC_Widget_Recently_Viewed Recent Products Widget.
WC_Widget_Top_Rated_Products

Top Rated Products Widget. Gets and displays top rated products in an unordered list.

Interfaces summary

WC_Abstract_Order_Data_Store_Interface WC Order Data Store Interface
WC_Coupon_Data_Store_Interface WC Coupon Data Store Interface
WC_Customer_Data_Store_Interface WC Customer Data Store Interface
WC_Customer_Download_Data_Store_Interface WC Customer Download Data Store Interface.
WC_Customer_Download_Log_Data_Store_Interface WC Customer Download Log Data Store Interface.
WC_Importer_Interface WC_Importer_Interface class.
WC_Log_Handler_Interface WC Log Handler Interface
WC_Logger_Interface WC Logger Interface
WC_Object_Data_Store_Interface WC Data Store Interface
WC_Order_Data_Store_Interface WC Order Data Store Interface
WC_Order_Item_Data_Store_Interface WC Order Item Data Store Interface
WC_Order_Item_Product_Data_Store_Interface WC Order Item Data Store Interface
WC_Order_Item_Type_Data_Store_Interface WC Order Item Data Store Interface
WC_Order_Refund_Data_Store_Interface WC Order Refund Data Store Interface
WC_Payment_Token_Data_Store_Interface WC Payment Token Data Store Interface
WC_Product_Data_Store_Interface WC Product Data Store Interface
WC_Product_Variable_Data_Store_Interface WC Product Variable Data Store Interface
WC_Shipping_Zone_Data_Store_Interface WC Shipping Zone Data Store Interface.
WC_Webhook_Data_Store_Interface WooCommerce Webhook data store interface.

Exceptions summary

WC_Data_Exception WC_Data_Exception class.
WC_REST_Exception WC_REST_Exception class.
WooCommerce Code Reference API documentation generated by ApiGen