WC_Customer::get_total_spent()publicWC 1.0

Return how much money this customer has spent.

Method of the class: WC_Customer{}

No Hooks.

Return

float.

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->get_total_spent();

WC_Customer::get_total_spent() code WC 8.7.0

public function get_total_spent() {
	return $this->data_store->get_total_spent( $this );
}