WC_Customer::set_shipping_address_2()publicWC 1.0

Set shipping_address_2.

Method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_shipping_address_2( $value );
$value(string) (required)
Shipping address line 2.

WC_Customer::set_shipping_address_2() code WC 8.7.0

public function set_shipping_address_2( $value ) {
	$this->set_address_prop( 'address_2', 'shipping', $value );
}