WC_Customer::get_total_spent
Return how much money this customer has spent.
Method of the class: WC_Customer{}
No Hooks.
Returns
float.
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->get_total_spent();
WC_Customer::get_total_spent() WC Customer::get total spent code WC 10.5.0
public function get_total_spent() {
return $this->data_store->get_total_spent( $this );
}