WC_Order::get_billing_city()publicWC 1.0

Get billing city.

Method of the class: WC_Order{}

No Hooks.

Return

String.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_billing_city( $context );
$context(string)
What the value is for. Valid values are view and edit.
Default: 'view'

WC_Order::get_billing_city() code WC 8.6.1

public function get_billing_city( $context = 'view' ) {
	return $this->get_address_prop( 'city', 'billing', $context );
}