Hi,
According to the Codex > wp_delete_user: “The user meta will also be deleted that are for that User ID.”
https://codex.ww.wp.xz.cn/Function_Reference/wp_delete_user
I needed access to the metadata before the user was actually deleted. Normally, the metadata is available before user is actually deleted in the action/hook delete_user: “If you need access to user meta or fields from the user table, use delete_user.”
https://codex.ww.wp.xz.cn/Plugin_API/Action_Reference/delete_user
But because your plugin first deletes the metadata itself and then calls wp_delete_user, the metadata was already gone.
Easy fix, I already created a pull request for you:
https://github.com/renventura/wp-delete-user-accounts/pull/4