WC_Order::get_shipping_company │ public │ WC 1.0

Get shipping company.

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

Хуков нет.

Возвращает

string.

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

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

Код WC_Order::get_shipping_company() WC 11.2.2

public function get_shipping_company( $context = 'view' ) {
	return $this->get_address_prop( 'company', 'shipping', $context );
}