Last active
April 4, 2022 16:15
-
-
Save petrusnog/9070ddf965cb5daff57567402ab4d40a to your computer and use it in GitHub Desktop.
Completely delete an user from a WordPress database. (Switch 0 to your user id)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM wp_users WHERE ID = 0; | |
DELETE FROM wp_usermeta WHERE user_id = 0; | |
DELETE FROM wp_comments WHERE user_id = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment