The MU forums have moved to

delete abandoned users (3 posts)

  1. maxaud
    Posted 15 years ago #

    How can I go about deleting abandoned users? I've got atleast 5000 users that are no longer active and I would like to delete them.

    Is there a plugin for this?


  2. ithyn
    Posted 15 years ago #

    I don't know of a plug-in that'll do it, but if you know MySQL you can do it that way.

    You need to look at the wp_usermeta table. Grab user_id based on meta_key = 'last_activity' and meta_value <= a cutoff date (in Unix timestamp format).

    Once you have your list of user_id's to delete, go to the wp_users table and delete those.

    You can write a MySQL command to do this automatically.

  3. SteveAtty
    Posted 15 years ago #

    Power Tools might do what you want

About this Topic

  • Started 15 years ago by maxaud
  • Latest reply from SteveAtty