woocommerce_order_amount_line_subtotal

woocommerce_order_amount_line_subtotal

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_amount_line_subtotal') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2046
     
    			$subtotal = $round ? NumberUtil::round( $subtotal, wc_get_price_decimals() ) : $subtotal;
    		}
    
    		return apply_filters( 'woocommerce_order_amount_line_subtotal', $subtotal, $this, $item, $inc_tax, $round );
    	}
    
    	/**
    	 * Calculate item cost - useful for gateways.
    	 *
    	 * @param object $item Item to get total from.