WordPress at Your Fingertips
function is not described

WC_Order::set_shipping_postcode() public WC 1.0

Set shipping postcode.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Order::set_shipping_postcode() WC 5.7.1

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