3 * Action handler for Multisite administration panels.
6 * @subpackage Multisite
10 /** Load WordPress Administration Bootstrap */
11 require_once( dirname( __FILE__ ) . '/admin.php' );
13 if ( empty( $_GET['action'] ) ) {
14 wp_redirect( network_admin_url() );
19 * Fires just before the action handler in several Network Admin screens.
21 * This hook fires on multiple screens in the Multisite Network Admin,
22 * including Users, Network Settings, and Site Settings.
26 do_action( 'wpmuadminedit' );
29 * Fires the requested handler action.
31 * The dynamic portion of the hook name, `$_GET['action']`, refers to the name
32 * of the requested action.
36 do_action( 'network_admin_edit_' . $_GET['action'] );
38 wp_redirect( network_admin_url() );