WC_Abstract_Order::set_total_tax( string $value )
Sets order tax (sum of cart and shipping tax). Used internally only.
Description Description
Parameters Parameters
- $value
-
(Required) Value to set.
Source Source
File: includes/abstracts/abstract-wc-order.php
protected function set_total_tax( $value ) { // We round here because this is a total entry, as opposed to line items in other setters. $this->set_prop( 'total_tax', wc_format_decimal( wc_round_tax_total( $value ) ) ); }