Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I delete all posts of one user?


  • gopa4
    Participant

    @gopa4

    Hello,

    Is there a plugin or ‘database query’ to delete all posts/comments of one user. I want to keep the user.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can find their activity items via the db. Find their items by SELECT * FROMwp_bp_activityWHEREuser_id= 'USER_ID_YOU_WANT_TO_FIND'

    Comments and posts should be delete-able via the WP Admin interface for those items.


    gopa4
    Participant

    @gopa4

    Is there a way to add “Older than 100 days” to this query? I only want to delete activity of 1 user older than 100 days.

    Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar