WC_Legacy_Customer::set_citypublicWC 1.0

Legacy set city.

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

Хуков нет.

Возвращает

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

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

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_city( $city );
$city(строка) (обязательный)
.

Код WC_Legacy_Customer::set_city() WC 9.9.3

function set_city( $city ) {
	wc_deprecated_function( 'WC_Customer::set_city', '3.0', 'WC_Customer::set_billing_city' );
	$this->set_billing_city( $city );
}