Last active
May 12, 2018 16:23
-
-
Save pogla/ce2d1415a51acde66e0ef21ee3fab16e to your computer and use it in GitHub Desktop.
Deleta all WordPress users from database
This file contains hidden or 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_usermeta WHERE user_id NOT in (1); | |
DELETE FROM wp_users WHERE ID NOT in (1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment