I need to bulk-delete a large number (4,321) of users, all of a particular role type (not an out-of-the-box role name).
I have tried several functions found online, and have tried the Bulk Delete (WPBulk) plugin, but both throw a 500 server error. (I recently extended by server's max value to allow for more processing). I suspect changing the number of users visible on the Users listing might break things.
I suspect the best answer is to use SQL inside phpMyAdmin. I would need some hand-holding (ie. enter a query in to the "SQL" box in the UI?). The users have many custom fields inside wp_usermeta.
Thank-you.