Change menu item name to Marketplace.
This commit is contained in:
parent
3ffc3de4c5
commit
a9ea6ecebc
|
@ -150,9 +150,9 @@ class WC_Admin_Menus {
|
||||||
public function addons_menu() {
|
public function addons_menu() {
|
||||||
$count_html = WC_Helper_Updater::get_updates_count_html();
|
$count_html = WC_Helper_Updater::get_updates_count_html();
|
||||||
/* translators: %s: extensions count */
|
/* translators: %s: extensions count */
|
||||||
$menu_title = sprintf( __( 'Extensions %s', 'woocommerce' ), $count_html );
|
$menu_title = sprintf( __( 'My Subscriptions %s', 'woocommerce' ), $count_html );
|
||||||
add_submenu_page( 'woocommerce', __( 'WooCommerce extensions', 'woocommerce' ), $menu_title, 'manage_woocommerce', 'wc-addons', array( $this, 'addons_page' ) );
|
add_submenu_page( 'woocommerce', __( 'Marketplace', 'woocommerce' ), __( 'Marketplace', 'woocommerce' ), 'manage_woocommerce', 'wc-addons', array( $this, 'addons_page' ) );
|
||||||
add_submenu_page( 'woocommerce', __( 'WooCommerce.com Subscriptions', 'woocommerce' ), __( 'My Subscriptions', 'woocommerce' ), 'manage_woocommerce', 'wc-addons§ion=helper', array( $this, 'helper_page' ) );
|
add_submenu_page( 'woocommerce', __( 'WooCommerce.com Subscriptions', 'woocommerce' ), $menu_title, 'manage_woocommerce', 'wc-addons§ion=helper', array( $this, 'helper_page' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue