do_action( 'delete_user', int $id , int|null $reassign )
Fires immediately before a user is deleted from the database.
Description Description
Parameters Parameters
- $id
-
(int) ID of the user to delete.
- $reassign
-
(int|null) ID of the user to reassign posts and links to. Default null, for no reassignment.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |