WC_Customer_Data_Store_Session::get_total_spent( WC_Customer $customer )
Return how much money this customer has spent.
Description Description
Parameters Parameters
- $customer
-
(Required) Customer object.
Return Return
(float)
Source Source
File: includes/data-stores/class-wc-customer-data-store-session.php
public function get_total_spent( &$customer ) { return 0; }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |