WC_Customer::set_billing_address_to_base()
Set customer address to match shop base address.
Description Description
Source Source
File: includes/class-wc-customer.php
public function set_billing_address_to_base() { $base = wc_get_customer_default_location(); $this->set_billing_location( $base['country'], $base['state'], '', '' ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |