WC_Abstract_Order::get_taxable_location()publicWC 7.6.0

Public wrapper for exposing get_tax_location() method, enabling 3rd parties to get the tax location for an order.

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

Хуков нет.

Возвращает

Массив.

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

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_taxable_location( $args );
$args(массив)
array Override the location.
По умолчанию: array()

Список изменений

С версии 7.6.0 Введена.

Код WC_Abstract_Order::get_taxable_location() WC 8.7.0

public function get_taxable_location( $args = array() ) {
	return $this->get_tax_location( $args );
}