WC_Customer::get_order_count
Return the number of orders this customer has.
Method of the class: WC_Customer{}
No Hooks.
Returns
Int.
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->get_order_count();
WC_Customer::get_order_count() WC Customer::get order count code WC 10.7.0
public function get_order_count() {
return $this->data_store->get_order_count( $this );
}