woocommerce_order_item_no_cogs_html

woocommerce_order_item_no_cogs_html

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_order_item_no_cogs_html') is found 1 times:

  • /includes/class-wc-order-item.php line 574
    			 * @param WC_Order_Item $product The order item for which the "there's no cost" indication is rendered.
    			 *
    			 * @since 9.9.0
    			 */
    			return apply_filters( 'woocommerce_order_item_no_cogs_html', "<span class='na'>&ndash;</span>", $this );
    		}
    
    		$cogs_value      = $this->get_cogs_value();
    		$cogs_value_html = wc_price( $cogs_value, array( 'currency' => $this->get_order()->get_currency() ) );
    
    		/**