Skip to content

Commit 678fe49

Browse files
committed
"Order" restricted fields updated.
1 parent b905af9 commit 678fe49

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

includes/model/class-order.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,6 @@ public function __construct( $id ) {
3737
'isPublic',
3838
'id',
3939
'orderId',
40-
'orderNumber',
41-
'date',
42-
'modified',
43-
'datePaid',
44-
'dateCompleted',
45-
'paymentMethodTitle',
46-
'customerNote',
47-
'billing',
48-
'shipping',
49-
'discountTotal',
50-
'discountTax',
51-
'shippingTotal',
52-
'shippingTax',
53-
'cartTax',
54-
'subtotal',
55-
'total',
56-
'totalTax',
57-
'isDownloadPermitted',
58-
'shippingAddressMapUrl',
59-
'needsShippingAddress',
60-
'needsPayment',
61-
'needsProcessing',
62-
'hasDownloadableItem',
63-
'downloadableItems',
6440
);
6541

6642
parent::__construct( $allowed_restricted_fields, 'shop_order', $id );

0 commit comments

Comments
 (0)