WordPress at Your Fingertips
function is not described

WC_Customer::get_billing_postcode() public WC 1.0

Get billing_postcode.

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

No Hooks.

Return

String.

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->get_billing_postcode( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Code of WC_Customer::get_billing_postcode() WC 5.9.0

public function get_billing_postcode( $context = 'view' ) {
	return $this->get_address_prop( 'postcode', 'billing', $context );
}