WordPress at a glance
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.0.0

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