network_admin_menu
Fires before the administration menu loads in the Network Admin.
Usage
add_action( 'network_admin_menu', 'wp_kama_network_admin_menu_action' ); /** * Function for `network_admin_menu` action-hook. * * @param string $context Empty context. * * @return void */ function wp_kama_network_admin_menu_action( $context ){ // action... }
- $context(string)
- Empty context.
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 141
do_action( 'network_admin_menu', '' );