WC_Order_Item_Product::get_subtotal_tax( string $context = 'view' )
Get subtotal tax.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are 'view' and 'edit'.
Default value: 'view'
Return Return
(string)
Source Source
File: includes/class-wc-order-item-product.php
public function get_subtotal_tax( $context = 'view' ) { return $this->get_prop( 'subtotal_tax', $context ); }