WC_Legacy_Customer::set_address_2()publicWC 1.0

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

WC_Legacy_Customer::set_address_2() code WC 8.9.0

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