WordPress at Your Fingertips
function is not described

WC_Admin_Menus::addons_menu() public WC 1.0

Addons menu item.

{} It's a method of the class: WC_Admin_Menus{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Menus = new WC_Admin_Menus();
$WC_Admin_Menus->addons_menu();

Code of WC_Admin_Menus::addons_menu() WC 5.9.0

public function addons_menu() {
	$count_html = WC_Helper_Updater::get_updates_count_html();
	/* translators: %s: extensions count */
	$menu_title = sprintf( __( 'My Subscriptions %s', 'woocommerce' ), $count_html );
	add_submenu_page( 'woocommerce', __( 'WooCommerce Marketplace', 'woocommerce' ), __( 'Marketplace', 'woocommerce' ), 'manage_woocommerce', 'wc-addons', array( $this, 'addons_page' ) );
	add_submenu_page( 'woocommerce', __( 'My WooCommerce.com Subscriptions', 'woocommerce' ), $menu_title, 'manage_woocommerce', 'wc-addons&section=helper', array( $this, 'addons_page' ) );
}