do_action( 'delete_user_form', WP_User $current_user, int[] $userids )

Fires at the end of the delete users form prior to the confirm button.

Parameters

$current_user

(WP_User) WP_User object for the current user.

$userids

(int[]) Array of IDs for users being deleted.

Source

File: wp-admin/users.php

View on Trac

Changelog

Version Description
4.5.0 The $userids parameter was added.
4.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_user_form