W3cubDocs

/WordPress

do_action( 'wpmu_delete_user', int $id, WP_User $user )

Fires before a user is deleted from the network.

Parameters

$id

(int) ID of the user about to be deleted from the network.

$user

(WP_User) WP_User object of the user about to be deleted from the network.

Source

File: wp-admin/includes/ms.php

View on Trac

Changelog

Version Description
MU (3.0.0) MU (3.0.0)
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_delete_user