WC_Legacy_Customer::set_address
Legacy set address.
Method of the class: WC_Legacy_Customer{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Legacy_Customer = new WC_Legacy_Customer(); $WC_Legacy_Customer->set_address( $address );
- $address(string) (required)
- .
WC_Legacy_Customer::set_address() WC Legacy Customer::set address code WC 10.3.6
function set_address( $address ) {
wc_deprecated_function( 'WC_Customer::set_address', '3.0', 'WC_Customer::set_billing_address' );
$this->set_billing_address( $address );
}