WC_Customer::get_billing_address_2 │ public │ WC 1.0

Get billing_address_2.

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

Хуков нет.

Возвращает

string. $value

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

$WC_Customer = new WC_Customer();
$WC_Customer->get_billing_address_2( $context );
$context(строка)
What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'

Код WC_Customer::get_billing_address_2() WC 11.3.0

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