Action hook 'deleted_user'

in WP Core File wp-admin/includes/ms.php at line 211

Description

Fires before a user is deleted from the network.

Occurrences

Filename Line Number
wp-admin/includes/ms.php 211
wp-admin/includes/user.php 463

Parameters

Type Name Description
int $id ID of the user about to be deleted from the network.
WP_User $user WP_User object of the user about to be deleted from the network.

PHP Doc

/**
	 * Fires before a user is deleted from the network.
	 *
	 * @since MU (3.0.0)
	 * @since 5.5.0 Added the `$user` parameter.
	 *
	 * @param int     $id   ID of the user about to be deleted from the network.
	 * @param WP_User $user WP_User object of the user about to be deleted from the network.
	 */