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.


Top ↑

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.


Top ↑

Source

File: wp-admin/includes/menu.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.