wpmu_delete_user

returnfalse;}/** * Fires before a user is deleted from the network. * * @since MU (3.0.0) * * @param int $id ID of the user about to be deleted from the network. */do_action('wpmu_delete_user',$id);$blogs=get_blogs_of_user($id);if(!empty($blogs)){foreach($blogsas$blog){switch_to_blog($blog->userblog_id);remove_user_from_blog($id,$blog->userblog_id);$post_ids=$wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_author = %d",$id));