# Excluir tópicos automaticamente após N dias dentro de uma categoria

**URL:** https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386
**Category:** Support
**Created:** [8 Março , 2025 10:44 UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386 "2025-03-08T10:44:34Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [8 Março , 2025 11:01 UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386/4 "2025-03-08T11:01:54Z")

</div>

Nesta resposta:

> [@Delete Unreplied Topics plugin](https://meta.discourse.org/t/delete-unreplied-topics-plugin/163546/14?u=alltiagocom):
>
> @RGJ based on multiple requests from other users: couldn’t this plugin of yours be used as the foundation for a new plugin that deletes topics in a particular category if they are older than N days, set by the user? If your plugin is already scanning topics, wouldn’t it possible to set some rules that say: If category is X, scan for topics where the creation date and the current date is more than N days, and if so, delete them. I don’t know the ins and outs of creating and changing plugins,…

Sugiro que o plugin possa ser uma base para um novo plugin que faça isso, já que muitos usuários acham que é um recurso útil.  
O plugin já é algo que pode ser usado para excluir alguns tópicos mais antigos, mas se pudéssemos ter um plugin configurado para excluir tópicos, independentemente da idade das respostas, seria perfeito!

---

_[View the full topic](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386)._
