* Updates wc-admin menu order and entries woocommerce/woocommerce-admin#624

* Remove menu items for pages that are not ready
This commit is contained in:
Jonathan Belcher 2018-10-24 17:58:31 -04:00 committed by GitHub
parent d5c2787520
commit dec6022638
1 changed files with 2 additions and 10 deletions

View File

@ -93,14 +93,6 @@ function wc_admin_register_pages() {
) )
); );
wc_admin_register_page(
array(
'title' => __( 'Products', 'wc-admin' ),
'parent' => '/analytics',
'path' => '/analytics/products',
)
);
wc_admin_register_page( wc_admin_register_page(
array( array(
'title' => __( 'Orders', 'wc-admin' ), 'title' => __( 'Orders', 'wc-admin' ),
@ -111,9 +103,9 @@ function wc_admin_register_pages() {
wc_admin_register_page( wc_admin_register_page(
array( array(
'title' => __( 'Coupons', 'wc-admin' ), 'title' => __( 'Products', 'wc-admin' ),
'parent' => '/analytics', 'parent' => '/analytics',
'path' => '/analytics/coupons', 'path' => '/analytics/products',
) )
); );