WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::get_postcode() public WC 1.0

Legacy get postcode.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->get_postcode();

Code of WC_Legacy_Customer::get_postcode() WC 5.5.2

<?php
function get_postcode() {
	wc_deprecated_function( 'WC_Customer::get_postcode', '3.0', 'WC_Customer::get_billing_postcode' );
	return $this->get_billing_postcode();
}