WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::get_city() public WC 1.0

Legacy get city.

{} 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_city();

Code of WC_Legacy_Customer::get_city() WC 5.7.1

function get_city() {
	wc_deprecated_function( 'WC_Customer::get_city', '3.0', 'WC_Customer::get_billing_city' );
	return $this->get_billing_city();
}