WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::set_address() public WC 1.0

Legacy set 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_address( $address );
$address(string) (required)
-

Code of WC_Legacy_Customer::set_address() WC 5.6.0

function set_address( $address ) {
	wc_deprecated_function( 'WC_Customer::set_address', '3.0', 'WC_Customer::set_billing_address' );
	$this->set_billing_address( $address );
}