Function wc_add_order_item
Add a item to an order (for example a line item).
Parameters summary
integer |
$order_id |
|
array |
$item |
$data |
Return value summary
mixed
|
Add a item to an order (for example a line item).
integer |
$order_id |
|
array |
$item |
$data |
mixed
|