woocommerce_get_product_cogs_total_value
woocommerce_get_product_cogs_total_value
Appears in: woocommerce.10.0.4, woocommerce.10.1.2, woocommerce.9.5.1, woocommerce.9.5.2, woocommerce.9.7.0, woocommerce.9.7.1, woocommerce.9.8.1, woocommerce.9.8.5, woocommerce.9.9.5
Hook Type: filter
Displaying hooks found in version: woocommerce.9.9.5apply_filters('woocommerce_get_product_cogs_total_value') is found 1 times:
- /includes/abstracts/abstract-wc-product.php line 2380
* * @param float $total_value The effective total value of the product. * @param WC_Product $product The product for which the total value is being retrieved. */ return apply_filters( 'woocommerce_get_product_cogs_total_value', $this->get_cogs_total_value_core(), $this ); } /** * Core function to get the effective total value of the Cost of Goods Sold for this product. * * Derived classes can override this method to provide an alternative way