WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wpmu delete user

Description

Deletes a user, and all of it's authored content from the network and removes it from all sites.

WARNING This will delete all posts authored by the user!

Usage

 <?php wpmu_delete_user$id ); ?> 

Parameters

$id
(integer) (required) The user's ID.
Default: None

Return Values

(boolean) 
true if the user was deleted, otherwise false.

Source File

wpmu_delete_user() is located in wp-admin/includes/ms.php.

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.