WC_Order::set_shipping_country()publicWC 1.0

Set shipping country.

Method of the class: WC_Order{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order = new WC_Order();
$WC_Order->set_shipping_country( $value );
$value(string) (required)
Shipping country.

WC_Order::set_shipping_country() code WC 8.9.0

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