Allow set instance_id for Order's shipping_lines
This commit is contained in:
parent
d139b35344
commit
ae9948edef
|
@ -700,7 +700,7 @@ class WC_REST_Orders_V2_Controller extends WC_REST_CRUD_Controller {
|
|||
}
|
||||
}
|
||||
|
||||
$this->maybe_set_item_props( $item, array( 'method_id', 'method_title', 'total' ), $posted );
|
||||
$this->maybe_set_item_props( $item, array( 'method_id', 'method_title', 'total', 'instance_id' ), $posted );
|
||||
$this->maybe_set_item_meta_data( $item, $posted );
|
||||
|
||||
return $item;
|
||||
|
|
Loading…
Reference in New Issue