Give child class access to billing/shipping fields
So that custom order types can extend `WC_Meta_Box_Order_Data` for their own purposes without having to redefine all the billing/shipping fields
This commit is contained in:
parent
e4b104d153
commit
40de60ea3e
|
@ -24,14 +24,14 @@ class WC_Meta_Box_Order_Data {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $billing_fields = array();
|
||||
protected static $billing_fields = array();
|
||||
|
||||
/**
|
||||
* Shipping fields
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $shipping_fields = array();
|
||||
protected static $shipping_fields = array();
|
||||
|
||||
/**
|
||||
* Init billing and shipping fields we display + save
|
||||
|
|
Loading…
Reference in New Issue