Created
June 22, 2020 20:04
-
-
Save dvdmierden/27a4642b05db449bb2425cc3ef1cd3ae to your computer and use it in GitHub Desktop.
Woocommerce clear all customers
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 u,um | |
FROM wp_users u | |
JOIN wp_usermeta um ON um.user_id = u.id | |
WHERE um.meta_key = 'wp_user_level' AND um.meta_value = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment