WordPress at a glance
action is not described

delete_user_form action-hook . WP 4.0.0

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


add_action( 'delete_user_form', 'action_function_name_3042', 10, 2 );
function action_function_name_3042( $current_user, $userids ){
	// action...
WP_User object for the current user.
Array of IDs for users being deleted.


Since 4.0.0 Introduced.
Since 4.5.0 The $userids parameter was added.

Where the hook is called

In file: /wp-admin/users.php
wp-admin/users.php 386
do_action( 'delete_user_form', $current_user, $userids );
wp-admin/includes/ms.php 977
do_action( 'delete_user_form', $current_user, $allusers );

Where in WP core the hook is used WordPress

Usage not found.