WC_Legacy_Customer::set_shipping_to_base()publicWC 1.0

Set customer shipping address to base address.

Method of the class: WC_Legacy_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_shipping_to_base();

WC_Legacy_Customer::set_shipping_to_base() code WC 8.6.1

public function set_shipping_to_base() {
	wc_deprecated_function( 'WC_Customer::set_shipping_to_base', '3.0', 'WC_Customer::set_shipping_address_to_base' );
	$this->set_shipping_address_to_base();
}