WC_Customer::get_order_count()
Return the number of orders this customer has.
Метод класса: WC_Customer{}
Хуков нет.
Возвращает
Int
.
Использование
$WC_Customer = new WC_Customer(); $WC_Customer->get_order_count();
Код WC_Customer::get_order_count() WC Customer::get order count WC 9.8.1
public function get_order_count() { return $this->data_store->get_order_count( $this ); }