Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto delete replies after x days/months


  • project_subdomain
    Participant

    @project_subdomain

    Hi!
    I’m searching for a solution to auto delete replies after a specific period of time.

    Looked at some plugins like auto prune posts, auto post scheduler and the bbpress close old posts git but nothing seems to work for replies only.

    Would be really great to find a solution.

Viewing 6 replies - 1 through 6 (of 6 total)

  • Robkk
    Moderator

    @robkk

    Just regular replies or spam posts??


    project_subdomain
    Participant

    @project_subdomain

    just regular replies


    Robkk
    Moderator

    @robkk

    Yeah this is custom development. I suggest you hire a developer if you want something like this.

    In this plugin though, it deletes replies by the set hours in the settings. You can edit the code to change the post_status to “publish” instead of “spam”. This might be resource intensive depending on how many replies you have currently on your forums.

    https://wordpress.org/plugins/bbpress-auto-delete-spam-replies/


    project_subdomain
    Participant

    @project_subdomain

    thanks @robkk, I’ll have a look at it!


    Robkk
    Moderator

    @robkk

    In this plugin though, it deletes replies by the set hours in the settings. You can edit the code to change the post_status to “publish” instead of “spam”. This might be resource intensive depending on how many replies you have currently on your forums.

    @project_subdomain.

    Take what I said earlier with a grain of salt, as I don’t really recommend it. Like I said, if you want hire a developer to fix any nooks and crannies that might come up doing this.


    project_subdomain
    Participant

    @project_subdomain

    thanks @robkk, I’ll take account of this as performance should not suffer.

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