Title: Auto Prune Posts
Author: ramon fincken
Published: <strong>31 outubro, 2010</strong>
Last modified: 11 novembro, 2025

---

Pesquisar plugins

![](https://s.w.org/plugins/geopattern-icon/auto-prune-posts.svg)

# Auto Prune Posts

 Por [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[Baixar](https://downloads.wordpress.org/plugin/auto-prune-posts.3.1.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/auto-prune-posts/#description)
 * [Avaliações](https://br.wordpress.org/plugins/auto-prune-posts/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/auto-prune-posts/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/auto-prune-posts/#developers)

 [Suporte](https://wordpress.org/support/plugin/auto-prune-posts/)

## Descrição

Auto deletes expires (prunes) posts or pages after a certain amount of time. On 
a per category basis (single category, or all at once).
 Handy if you want to have
posts with a limited timeframe such as offers, coupons etc.. Posts will auto delete
on a per category basis: single category OR all categories at once. All (custom)
post types are supported. (CPT support) Will also trash post attachments. Sends 
notification to site admin (can be turned off). No cronjob needed 🙂

 * Coding by: [MijnPress.nl](https://www.mijnpress.nl) [Mastodon profile](https://mastodon.social/@ramonfincken)
   [More plugins](https://profiles.wordpress.org/ramon-fincken/)
 * Idea by [Nostromo.nl](https://www.nostromo.nl)

Donate [https://donate.ramonfincken.com/](https://donate.ramonfincken.com/)

## Capturas de tela

[⌊Start overview⌉⌊Start overview⌉[

Start overview

[⌊All options, you can update or delete each setting⌉⌊All options, you can update
or delete each setting⌉[

All options, you can update or delete each setting

[⌊Advanced options⌉⌊Advanced options⌉[

Advanced options

## Instalação

 1. Upload directory `auto_prune_posts` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Visit Plugins menu to configure the plugin.

## Perguntas frequentes

### I have a lot of questions and I want support where can I go?

[https://pluginsupport.mijnpress.nl/](https://pluginsupport.mijnpress.nl/) or drop
me a tweet to notify me of your support topic over here.
 I always check my toots,
so mention my name with https://mastodon.social/deck/@ramonfincken and your problem.

## Avaliações

![](https://secure.gravatar.com/avatar/8f8af7737bed19c14abafa215c3ee01d1d24961649b32dc80df7d70fca5a1513?
s=60&d=retro&r=g)

### 󠀁[Reliable way to delete old posts](https://wordpress.org/support/topic/reliable-way-to-delete-old-posts/)󠁿

 [mquiggeorgia](https://profiles.wordpress.org/mquiggeorgia/) 21 agosto, 2024

This plugin works well to automatically delete old posts on a schedule. We use it
to remove everything 2 years old and over to keep website from getting bogged down
with stale posts. Thank you!

![](https://secure.gravatar.com/avatar/88841e7ace4946b2f7ff420167e9dd64d1e7a9c2b7d67b2b7ca11012ee37ce86?
s=60&d=retro&r=g)

### 󠀁[Works fine on WP 6.1.1](https://wordpress.org/support/topic/works-fine-on-wp-6-1-1/)󠁿

 [Bat n Ball](https://profiles.wordpress.org/bat-n-ball/) 6 dezembro, 2022 1 resposta

I realise this plugin hasn’t been updated for a while but I just wanted to say it’s
great and works well on the most recent version of WordPress. At the time of writing,
that was 6.1.1 Cheers 👍

![](https://secure.gravatar.com/avatar/fc7dbc1dc99c3fc141775d5dbcff800b75de11cd18d0df521ea9570e94cdf0c7?
s=60&d=retro&r=g)

### 󠀁[Throws errors on activation.](https://wordpress.org/support/topic/throws-errors-on-activation/)󠁿

 [kenrichman](https://profiles.wordpress.org/kenrichman/) 7 outubro, 2019

Needs to be updated; too many errors thrown. Hopefully this will be attended to 
as it’s a really useful plugin otherwise.

![](https://secure.gravatar.com/avatar/0d275c243c924c38760d6a018cc1215b497ecf9f88ba3e8a3d4f6f03d5fb544f?
s=60&d=retro&r=g)

### 󠀁[Good Job](https://wordpress.org/support/topic/good-job-887/)󠁿

 [khizaralikhan](https://profiles.wordpress.org/khizaralikhan/) 17 junho, 2018

Works Perfectly no errors faced yet

![](https://secure.gravatar.com/avatar/50c101f4d9be877802d44713e653b7ee3306990c73a8daa836608bfa2bf2dcba?
s=60&d=retro&r=g)

### 󠀁[Lifesaver!](https://wordpress.org/support/topic/lifesaver-121/)󠁿

 [angeljs](https://profiles.wordpress.org/angeljs/) 3 maio, 2018

Thank you for this plugin, it’s saved me a lot of time, trouble and space!

![](https://secure.gravatar.com/avatar/efa3c860086ecadd363372d33cbaaee6f7d8c9e490a6f1314c1e2dfd8b39426e?
s=60&d=retro&r=g)

### 󠀁[the one that works](https://wordpress.org/support/topic/the-one-that-works-2/)󠁿

 [arroyo2](https://profiles.wordpress.org/arroyo2/) 5 agosto, 2017

finally found the one that’s working

 [ Leia todas as 10 avaliações ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## Colaboradores e desenvolvedores

“Auto Prune Posts” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

[Traduzir o “Auto Prune Posts” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/auto-prune-posts)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/auto-prune-posts/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/auto-prune-posts/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/auto-prune-posts/)
por [RSS](https://plugins.trac.wordpress.org/log/auto-prune-posts/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 3.1.1

Bugfix: Re-added the framework

#### 3.1.0

Change: Removed &prune=true GET option to force run prune using wp-admin as it is
false-positively flagged ads CSS by pathstack. Now using a form post button.

#### 3.0.0

Bugfix: XSS in POST types

#### 2.0.0

Bugfix: Added nonces for admin forms (CSRF)
 Bugfix: PHP 8 compatibility

#### 1.8.0

Bugfix: PHP 8 compatibility

#### 1.7.0

Bugfix: Menu conflict with bbpress due to permissions

#### 1.6.6

Bugfix: Removed PHP notices
 Added: Settings for max deletes per run, and amount
between runs

#### 1.6.5

Added: max of 600 deletes per call, 300 sec delay

#### 1.6.4

Bugfix: Changed the init after WP rewrite, due to errors with W3 total cache

#### 1.6.3

Bugfix: Better hook (plugins_loaded instead of wp) 
 Added: Earlier flush and 20
seconds timeout

#### 1.6.2

Bugfix: All categories now shown when saved

#### 1.6.1

Bugfix: All categories

#### 1.6

Added: All categories support
 Bugfix: Only get latest 50 posts (performance fix),
every 30 seconds Changed: Dropdown now on category name (sort)

#### 1.5

Bugfix: Framework did not work on multisite, is_admin() problem.
If anyone could
help me with that ? 🙂

#### 1.1

Second release
 Added: Custom post type support Added: Trash OR force delete option
Added: Mail admin if post is deleted Changed: Init method is now every 30 seconds,
all posts are checked. Added: If you add &prune=true in your admin plugin page the
plugin will run manually (force run)

#### 1.0

First release

## Meta

 *  Versão **3.1.1**
 *  Última atualização **8 meses atrás**
 *  Instalações ativas **1.000+**
 *  Versão do WordPress ** 2.3 ou superior **
 *  Testado até **6.8.5**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/auto-prune-posts/)
 * Tags
 * [clean](https://br.wordpress.org/plugins/tags/clean/)[delete](https://br.wordpress.org/plugins/tags/delete/)
   [expire](https://br.wordpress.org/plugins/tags/expire/)[mass](https://br.wordpress.org/plugins/tags/mass/)
   [prune](https://br.wordpress.org/plugins/tags/prune/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/auto-prune-posts/advanced/)

## Classificações

 4.2 de 5 estrelas.

 *  [  7 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=4)
 *  [  2 avaliações com 3 estrelas     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/auto-prune-posts/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## Colaboradores

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

## Suporte

Problemas resolvidos nos últimos dois meses:

     0 de 1

 [Ver fórum de suporte](https://wordpress.org/support/plugin/auto-prune-posts/)