delete_user – action

Fires immediately before a user is deleted from the database. 

Parameters

.
( 2.0.0 ) . .
Added
( 5.5.0 ) the `$user` parameter. . . .
( int ) $id ID of the user to delete. . . .
$reassign
( int|null ) ID of the user to reassign posts and links to. Default null, for no reassignment. . . .
( WP_User ) $user WP_User object of the user to delete. . . .
API Letters: ,

Implementers