_network_admin_menu
Fires before the administration menu loads in the Network Admin.
The hook fires before menus and sub-menus are removed based on user privileges.
Usage
add_action( '_network_admin_menu', 'wp_kama__network_admin_menu_action' ); /** * Function for `_network_admin_menu` action-hook. * * @return void */ function wp_kama__network_admin_menu_action(){ // action... }
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
In file: /wp-admin/includes/menu.php
_network_admin_menu
wp-admin/includes/menu.php 19
do_action( '_network_admin_menu' );