Pass more arguments to woocommerce_new_order_item

This commit is contained in:
Brent Shepherd 2013-01-23 16:23:54 +10:00
parent e7a0324b7c
commit eda7961bfa
1 changed files with 1 additions and 1 deletions

View File

@ -1928,7 +1928,7 @@ function woocommerce_add_order_item( $order_id, $item ) {
$item_id = absint( $wpdb->insert_id );
do_action( 'woocommerce_new_order_item', $item_id );
do_action( 'woocommerce_new_order_item', $item_id, $item, $order_id );
return $item_id;
}