WC_Customer::set_shipping_postcode()publicWC 1.0

Set shipping_postcode.

Method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_shipping_postcode( $value );
$value(string) (required)
Shipping postcode.

WC_Customer::set_shipping_postcode() code WC 9.4.2

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