Function: wpmu_delete_user

wpmu_delete_user( integer $id )

Delete a user from the network and remove from all sites.

Parameters

Name Type(s) Default Value Description
$id integer

The user ID.

Returns

boolean

True if the user was deleted, otherwise false.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.