delete_user – action
Fires immediately before a user is deleted from the database.
- ( 2.0.0 ) . .
- ( 5.5.0 ) the `$user` parameter. . . .
- ( int ) $id ID of the user to delete. . . .
- ( 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. . . .