WC_Customer::get_total_spent()publicWC 1.0

Return how much money this customer has spent.

Метод класса: WC_Customer{}

Хуков нет.

Возвращает

float.

Использование

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

Код WC_Customer::get_total_spent() WC 8.7.0

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