woocommerce_order_item_cogs_html
woocommerce_order_item_cogs_html
Appears in: woocommerce.9.9.5
Hook Type: filter
Displaying hooks found in version: woocommerce.9.9.5apply_filters('woocommerce_order_item_cogs_html') is found 1 times:
- /includes/class-wc-order-item.php line 589
* @param WC_Order_Item $product The order item. * * @since 9.9.0 */ return apply_filters( 'woocommerce_order_item_cogs_html', $cogs_value_html, $cogs_value, $this ); } /** * Get the "cost per unit" tooltip text for the "Cost" (of Goods Sold) column in the order details page. * * @return string "Cost per unit: (formatted cost with currency)" text.