Add both order id and order number to export
This commit is contained in:
parent
8ce660e731
commit
e08b447c14
|
@ -101,7 +101,8 @@ class WC_Privacy {
|
||||||
$personal_data['orders'] = array();
|
$personal_data['orders'] = array();
|
||||||
foreach ( $orders as $order ) {
|
foreach ( $orders as $order ) {
|
||||||
$order_data = array(
|
$order_data = array(
|
||||||
'Transaction ID' => $order->get_order_number(),
|
'Order ID' => $order->get_id(),
|
||||||
|
'Order Number' => $order->get_order_number(),
|
||||||
'IP Address' => $order->get_customer_ip_address(),
|
'IP Address' => $order->get_customer_ip_address(),
|
||||||
'User Agent' => $order->get_customer_user_agent(),
|
'User Agent' => $order->get_customer_user_agent(),
|
||||||
'Billing First Name' => $order->get_billing_first_name(),
|
'Billing First Name' => $order->get_billing_first_name(),
|
||||||
|
|
Loading…
Reference in New Issue