hec
1/17/2016 - 1:41 AM

useful queries

useful queries

#delete all wp users except admin or an array of names or ids

DELETE FROM qah_users WHERE user_login NOT IN ('admin')
DELETE FROM qah_usermeta WHERE user_id NOT IN ('1')