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