WC_Customer_Data_Store_Session::get_order_count( WC_Customer $customer )

Return the number of orders this customer has.


Description Description


Parameters Parameters

$customer

(Required) Customer object.


Top ↑

Return Return

(integer)


Top ↑

Source Source

File: includes/data-stores/class-wc-customer-data-store-session.php

	public function get_order_count( &$customer ) {
		return 0;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.