WC_Customer::has_shipping_address()
Indicates if the customer has a non-empty shipping address.
Description Description
Note that this does not indicate if the customer’s shipping address is complete, only that one or more fields are populated.
Return Return
(bool)
Source Source
File: includes/class-wc-customer.php
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |