WC_Order::set_shipping_state()publicWC 1.0

Set shipping state.

Method of the class: WC_Order{}

No Hooks.

Return

null. 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 8.6.1

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