delete_user_form WordPress Action Hook
The delete_user_form hook is used to create a form for deleting a user. This form will ask for confirmation before the user is deleted.
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
Source
File: wp-admin/users.php
Changelog
Version | Description |
---|---|
4.5.0 | The $userids parameter was added. |
4.0.0 | Introduced. |