Added state alongside city & other info
This commit is contained in:
parent
fccbd105f1
commit
7e7583710a
|
@ -217,6 +217,12 @@ class WC_Admin_REST_Reports_Customers_Controller extends WC_REST_Reports_Control
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
),
|
),
|
||||||
|
'state' => array(
|
||||||
|
'description' => __( 'State.', 'woocommerce-admin' ),
|
||||||
|
'type' => 'string',
|
||||||
|
'context' => array( 'view', 'edit' ),
|
||||||
|
'readonly' => true,
|
||||||
|
),
|
||||||
'postcode' => array(
|
'postcode' => array(
|
||||||
'description' => __( 'Postal code.', 'woocommerce-admin' ),
|
'description' => __( 'Postal code.', 'woocommerce-admin' ),
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
|
@ -335,6 +341,7 @@ class WC_Admin_REST_Reports_Customers_Controller extends WC_REST_Reports_Control
|
||||||
'name',
|
'name',
|
||||||
'country',
|
'country',
|
||||||
'city',
|
'city',
|
||||||
|
'state',
|
||||||
'postcode',
|
'postcode',
|
||||||
'date_registered',
|
'date_registered',
|
||||||
'date_last_active',
|
'date_last_active',
|
||||||
|
|
Loading…
Reference in New Issue