WordPress at Your Fingertips
function is not described

WC_Customer::set_shipping_state() public WC 1.0

Set shipping_state.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Customer::set_shipping_state() WC 5.9.0

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