WC_Customer::get_billing( string $context = 'view' )
Get billing.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(array)
Source Source
File: includes/class-wc-customer.php
public function get_billing( $context = 'view' ) {
return $this->get_prop( 'billing', $context );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |