wpmu_delete_user


wpmu_delete_user ( $id )

Parameters:
  • (int) id The user ID.
Returns:
  • (bool) True if the user was deleted, false otherwise.
Defined at:

Description

Deletes a user and all of their posts from the network.This function: - Deletes all posts (of all post types) authored by the user on all sites on the network - Deletes all links owned by the user on all sites on the network - Removes the user from all sites on the network - Deletes the user from the database

Related Functions

wp_delete_user, wpmu_create_user, wp_delete_site, wp_delete_term, wpmu_delete_blog

Top Google Results

User discussions

wpseek mobile