WordPress.org

Ready to get started?Download WordPress

Forums

Delete inactive users (6 posts)

  1. sehh
    Member
    Posted 9 years ago #

    How can we delete inactive user accounts (users who haven't logged in for the past X days/weeks/months).

    Our sites are filling up with old/unused user accounts and it seems there is nothing we can do about it.

  2. ColdForged
    Member
    Posted 9 years ago #

    What problem is this causing?

  3. moshu
    Member
    Posted 9 years ago #

    The only way I see it: downgrade them to level 0 (zero) and then you'll have a "Delete" button at the end of the row.

  4. lawtai
    Member
    Posted 9 years ago #

    just make sure that they have'nt made any posts because their posts will get deleted as well I think.

  5. sehh
    Member
    Posted 9 years ago #

    ColdForged, the problem is that running a public site where users are allowed to create accounts gets to a point where some user accounts are invalid or inactive.

    I would like to be able to delete all users who haven't logged in for the past X days/weeks/months.

    I looked at the users SQL table and WP doesn't record the last access date :(

    Any suggestions would be welcome.

  6. sehh
    Member
    Posted 9 years ago #

    no one?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.