do_action( 'wpmu_delete_user', int $id , WP_User $user )
Fires before a user is deleted from the network.
Parameters
- $id
-
ID of the user about to be deleted from the network.
- $user
-
WP_User object of the user about to be deleted from the network.
Source
File: wp-admin/includes/ms.php
Changelog
Version | Description |
---|---|
WP-5.5.0 | Added the $user parameter. |
WP-MU | Introduced. (3.0.0) |