Class Orders
Methods summary
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
mixed
|
|
public
|
#
order_add_product( $order_id, $item_id, $product, $qty, $args )
Opportunity to change title and add line_item meta |
public
|
|
public
string
|
|
public
array
|
|
public
|
#
updated_order_item_meta( $meta_id, $order_id, $meta_key, $meta_value )
Fix item meta for negative product/fee values |
public
null
|
#
update_post_metadata( $null, $order_id, $meta_key, $meta_value, $prev_value )
Apply shipping tax, fix order_tax
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
|
|
public
array
|
#
order_response( array $order_data, $order, $fields, $server )
Add any payment messages to API response Also add subtotal_tax to receipt which is not included for some reason |
public
|
|
public static
array
|