WordPress at Your Fingertips
function is not described

WC_Order::set_shipping_address_2() public WC 1.0

Set shipping address line 2.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Order::set_shipping_address_2() WC 5.8.0

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