Update wc-admin-functions.php
This commit is contained in:
parent
cb2980596c
commit
ac52ce4bad
|
@ -252,7 +252,7 @@ function wc_save_order_items( $order_id, $items ) {
|
|||
}
|
||||
|
||||
// Allow other plugins to change item object before it is saved.
|
||||
do_action( 'woocommerce_before_save_order_item', $item, $item_data, $order_id );
|
||||
do_action( 'woocommerce_before_save_order_item', $item );
|
||||
|
||||
$item->save();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue