Change filter 'get_order_item_classname' to have $id

This commit is contained in:
Jeroen Sormani 2017-03-20 21:42:57 +01:00 committed by GitHub
parent d07d32c3d2
commit 9724bcd698
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}