Summery Summery
Fires immediately before a user is deleted from the database.
Syntax Syntax
Parameters Parameters
- $id
-
ID of the user to delete.
- $reassign
-
ID of the user to reassign posts and links to. Default null, for no reassignment.
- $user
-
WP_User object of the user to delete.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.5.0 | Added the $user parameter. |
2.0.0 | Introduced. |