handle_network_bulk_actions-

handle_network_bulk_actions-

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('handle_network_bulk_actions-') is found 4 times:

  • /wp-admin/network/site-users.php line 179
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
            check_admin_referer( 'bulk-users' );
            $userids = $_REQUEST['users'];
     
            /** This action is documented in wp-admin/network/site-themes.php */
            $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
     
            $update = $action;
            break;
    }
     
    wp_safe_redirect( add_query_arg( 'update', $update, $referer ) );
  • /wp-admin/network/sites.php line 247
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
            $redirect_to = wp_get_referer();
            $blogs       = (array) $_POST['allblogs'];
     
            /** This action is documented in wp-admin/network/site-themes.php */
            $redirect_to = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
     
            wp_safe_redirect( $redirect_to );
            exit;
        }
    } else {
        // Process query defined by WP_MS_Site_List_Table::extra_table_nav().
  • /wp-admin/network/themes.php line 296
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
                }
                check_admin_referer( 'bulk-themes' );
     
                /** This action is documented in wp-admin/network/site-themes.php */
                $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
     
                wp_safe_redirect( $referer );
                exit;
        }
    }
  • /wp-admin/network/users.php line 132
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
        $sendback = wp_get_referer();
        $user_ids = (array) $_POST['allusers'];
     
        /** This action is documented in wp-admin/network/site-themes.php */
        $sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
     
        wp_safe_redirect( $sendback );
        exit;
    }
     
    wp_safe_redirect(