WC_Order::get_billing_city
Get billing city.
Метод класса: WC_Order{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Order = new WC_Order(); $WC_Order->get_billing_city( $context );
- $context(строка)
- What the value is for. Valid values are view and edit.
По умолчанию:'view'
Код WC_Order::get_billing_city() WC Order::get billing city WC 10.8.1
public function get_billing_city( $context = 'view' ) {
return $this->get_address_prop( 'city', 'billing', $context );
}