woocommerce_order_amount_item_subtotal

woocommerce_order_amount_item_subtotal

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_amount_item_subtotal') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2022
     
    			$subtotal = $round ? NumberUtil::round( $subtotal, wc_get_price_decimals() ) : $subtotal;
    		}
    
    		return apply_filters( 'woocommerce_order_amount_item_subtotal', $subtotal, $this, $item, $inc_tax, $round );
    	}
    
    	/**
    	 * Get line subtotal - this is the cost before discount.
    	 *
    	 * @param object $item Item to get total from.