3 * Action handler for Multisite administration panels.
6 * @subpackage Multisite
10 /** Load WordPress Administration Bootstrap */
11 require_once( dirname( __FILE__ ) . '/admin.php' );
13 if ( ! is_multisite() )
14 wp_die( __( 'Multisite support is not enabled.' ) );
16 if ( empty( $_GET['action'] ) ) {
17 wp_redirect( network_admin_url() );
22 * Fires just before the action handler in several Network Admin screens.
24 * This hook fires on multiple screens in the Multisite Network Admin,
25 * including Users, Network Settings, and Site Settings.
29 do_action( 'wpmuadminedit' );
32 * Fires the requested handler action.
34 * The dynamic portion of the hook name, `$_GET['action']`, refers to the name
35 * of the requested action.
39 do_action( 'network_admin_edit_' . $_GET['action'] );
41 wp_redirect( network_admin_url() );