WC_Order::set_shipping_state │ public │ WC 1.0

Set shipping state.

Method of the class: WC_Order{}

No Hooks.

Returns

void. Nothing (null).

Usage

$WC_Order = new WC_Order();
$WC_Order->set_shipping_state( $value );
$value(string) (required)
Shipping state.

WC_Order::set_shipping_state() code WC 11.2.2

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