[Tracker] Added order_total to orders_edit_status_change

This commit is contained in:
Claudio Sanches 2020-07-01 18:24:47 -03:00
parent 0dfd97370e
commit 0d9b6786fd
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class WC_Orders_Tracking {
'previous_status' => $previous_status,
'date_created' => $order->get_date_created() ? $order->get_date_created()->date( 'Y-m-d' ) : '',
'payment_method' => $order->get_payment_method(),
'order_total' => $order->get_total(),
);
WC_Tracks::record_event( 'orders_edit_status_change', $properties );