wpmuadminedit

wpmuadminedit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('wpmuadminedit') is found 4 times:

  • /wp-admin/network/edit.php line 28
     * including Users, Network Settings, and Site Settings.
     *
     * @since 3.0.0
     */
    do_action( 'wpmuadminedit' );
    
    /**
     * Fires the requested handler action.
     *
     * The dynamic portion of the hook name, `$action`, refers to the name
     * of the requested action derived from the `GET` request.
    
  • /wp-admin/network/settings.php line 70
    );
    
    if ( $_POST ) {
    	/** This action is documented in wp-admin/network/edit.php */
    	do_action( 'wpmuadminedit' );
    
    	check_admin_referer( 'siteoptions' );
    
    	$checked_options = array(
    		'menu_items'                  => array(),
    		'registrationnotification'    => 'no',
    
  • /wp-admin/network/sites.php line 61
    $id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0;
    
    if ( isset( $_GET['action'] ) ) {
    	/** This action is documented in wp-admin/network/edit.php */
    	do_action( 'wpmuadminedit' );
    
    	// A list of valid actions and their associated messaging for confirmation output.
    	$manage_actions = array(
    		/* translators: %s: Site URL. */
    		'activateblog'   => __( 'You are about to activate the site %s.' ),
    		/* translators: %s: Site URL. */
    
  • /wp-admin/network/users.php line 19
    }
    
    if ( isset( $_GET['action'] ) ) {
    	/** This action is documented in wp-admin/network/edit.php */
    	do_action( 'wpmuadminedit' );
    
    	switch ( $_GET['action'] ) {
    		case 'deleteuser':
    			if ( ! current_user_can( 'manage_network_users' ) ) {
    				wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
    			}