WordPress at Your Fingertips
function is not described

WC_Customer::set_shipping_country() public WC 1.0

Set shipping_country.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Customer::set_shipping_country() WC 6.1.1

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