woocommerce_cart_product_subtotal

woocommerce_cart_product_subtotal

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cart_product_subtotal') is found 1 times:

  • /includes/class-wc-cart.php line 2056
    			$row_price        = (float) $price * (float) $quantity;
    			$product_subtotal = wc_price( $row_price );
    		}
    
    		return apply_filters( 'woocommerce_cart_product_subtotal', $product_subtotal, $product, $quantity, $this );
    	}
    
    	/**
    	 * Gets the cart tax (after calculation).
    	 *
    	 * @return string formatted price