WordPress at Your Fingertips
function is not described

WC_Customer::set_shipping_address_2() public WC 1.0

Set shipping_address_2.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Customer::set_shipping_address_2() WC 5.9.0

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