WordPress at Your Fingertips
action is not described

delete_user action-hook . WP 2.0.0

Fires immediately before a user is deleted from the database.


add_action( 'delete_user', 'action_function_name_648', 10, 3 );
function action_function_name_648( $id, $reassign, $user ){
	// action...
ID of the user to delete.
ID of the user to reassign posts and links to.
Default: null, for no reassignment
WP_User object of the user to delete.


Since 2.0.0 Introduced.
Since 5.5.0 Added the $user parameter.

Where the hook is called

wp-admin/includes/user.php 368
do_action( 'delete_user', $id, $reassign, $user );

Where in WP core the hook is used WordPress

Usage not found.