network_admin_menu WordPress Action Hook
The network_admin_menu hook is used to add new menus to the WordPress Network Administration menu. This hook is only available to network administrators.
do_action( 'network_admin_menu', string $context ) #
Fires before the administration menu loads in the Network Admin.
Parameters
- $context
(string)Empty context.
More Information
This action is used to add extra submenus and menu options to the network admin panel’s menu structure. The network admin panel is only seen by a super admin in a multisite installation.
The function associated with this action runs after the basic network admin panel menu structure is in place. For example, the function might call add_submenu_page() to add a submenu page.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |