Split the Extensions page into Marketplace and My Subscriptions. (https://github.com/woocommerce/woocommerce-admin/pull/7471)

* Split the Extensions page into Marketplace and My Subscriptions.

* Add changelog entry.

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
This commit is contained in:
Maria Górska-Piszek 2021-08-12 09:22:46 +02:00 committed by GitHub
parent c1730d16f1
commit 35d58de151
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: Tweak
Split Extensions page into Marketplace and My Subscriptions. #7471

View File

@ -23,7 +23,7 @@ function wc_admin_get_core_pages_to_connect() {
return array(
'wc-addons' => array(
'title' => __( 'Extensions', 'woocommerce-admin' ),
'title' => __( 'Marketplace', 'woocommerce-admin' ),
'tabs' => array(),
),
'wc-reports' => array(
@ -294,3 +294,13 @@ wc_admin_connect_page(
'title' => __( 'Edit attribute', 'woocommerce-admin' ),
)
);
// WooCommerce > My Subscriptions.
wc_admin_connect_page(
array(
'id' => 'wc-subscriptions',
'screen_id' => 'woocommerce_page_wc-addons-browse-extensions-helper',
'title' => __( 'My Subscriptions', 'woocommerce-admin' ),
'path' => 'admin.php?page=wc-addons&section=helper',
)
);