WC_Order::has_billing_address()
Returns true if the order has a billing address.
Description Description
Return Return
(boolean)
Source Source
File: includes/class-wc-order.php
public function has_billing_address() { return $this->get_billing_address_1() || $this->get_billing_address_2(); }
Changelog Changelog
Version | Description |
---|---|
3.0.4 | Introduced. |