WordPress at a glance
function is not described

WC_Legacy_Customer::set_to_base() public WC 1.0

Set customer address to match shop base address.

{} It's a method of the class: WC_Legacy_Customer{}

No Hooks.

Return

Null. Nothing.

Usage

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

Code of WC_Legacy_Customer::set_to_base() WC 5.0.0

<?php
public function set_to_base() {
	wc_deprecated_function( 'WC_Customer::set_to_base', '3.0', 'WC_Customer::set_billing_address_to_base' );
	$this->set_billing_address_to_base();
}