WC_Order_Tracking
in package
This class adds actions to track usage of a WooCommerce Order.
Table of Contents
- init() : mixed
- Init tracking.
- track_order_viewed() : mixed
- Send a Tracks event when an order is viewed.
Methods
init()
Init tracking.
public
init() : mixed
Return values
mixed —track_order_viewed()
Send a Tracks event when an order is viewed.
public
track_order_viewed(WC_Order $order) : mixed
Parameters
- $order : WC_Order
-
Order.