WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/confirm delete users

Description

Used to display a confirmation on the Multisite Users administration panel before deleting users.

Usage

<?php confirm_delete_users$users ); ?>

Parameters

$users
(array) (required) An array of IDs of users to delete. Note that this parameter is currently not used by the function. $_POST['allusers'] is used instead. See ticket 17905.
Default: None

Returns

(boolean) 
FALSE if $users is not an array. Otherwise, true

Examples

<?php confirm_delete_users( array( 1, 3, 45, 7, 378, ) ); ?>

Notes

  • Although the $users parameter is not currently used by the function, it is still necessary to pass an array, or else the function will return false.

Change Log

Source File

confirm_delete_users() is located in wp-admin/network/users.php.

See also index of Function Reference and index of Template Tags.
This article is marked as in need of editing. You can help Codex by editing it.