WC_Customer_Data_Store_Interface::get_total_spent()publicWC 1.0

Return how much money this customer has spent.

Method of the class: WC_Customer_Data_Store_Interface{}

No Hooks.

Return

float.

Usage

$WC_Customer_Data_Store_Interface = new WC_Customer_Data_Store_Interface();
$WC_Customer_Data_Store_Interface->get_total_spent( $customer );
$customer(WC_Customer) (required) (passed by reference — &)
Customer object.

WC_Customer_Data_Store_Interface::get_total_spent() code WC 8.7.0

public function get_total_spent( &$customer );