WC_Customer::set_shipping_state()
Set shipping_state.
Method of the class: WC_Customer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->set_shipping_state( $value );
- $value(string) (required)
- Shipping state.
WC_Customer::set_shipping_state() WC Customer::set shipping state code WC 9.4.2
public function set_shipping_state( $value ) { $this->set_address_prop( 'state', 'shipping', $value ); }