WC_Legacy_Customer::get_city()publicWC 1.0

Legacy get city.

Метод класса: WC_Legacy_Customer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код WC_Legacy_Customer::get_city() WC 8.7.0

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