woocommerce_get_product_cogs_total_value

woocommerce_get_product_cogs_total_value

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_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