Change filter 'get_order_item_classname' to have $id
This commit is contained in:
parent
d07d32c3d2
commit
9724bcd698
|
@ -101,7 +101,7 @@ class WC_Order_Factory {
|
|||
$classname = 'WC_Order_Item_Tax';
|
||||
break;
|
||||
default :
|
||||
$classname = apply_filters( 'woocommerce_get_order_item_classname', $classname, $item_type, $item_id );
|
||||
$classname = apply_filters( 'woocommerce_get_order_item_classname', $classname, $item_type, $id );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue