Title: Auto Prune Posts
Author: ramon fincken
Published: <strong>2010-يىلى 31-ئۆكتەبىر</strong>
Last modified: 2025-يىلى 11-نويابىر

---

قىستۇرما ئىزدە

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

# Auto Prune Posts

 يازغۇچى [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[چۈشۈر](https://downloads.wordpress.org/plugin/auto-prune-posts.3.1.1.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/auto-prune-posts/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/auto-prune-posts/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/auto-prune-posts/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/auto-prune-posts/#developers)

 [قوللاش](https://wordpress.org/support/plugin/auto-prune-posts/)

## چۈشەندۈرۈش

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/)

## ئېكران كەسمىسى

 * [[
 * Start overview
 * [[
 * All options, you can update or delete each setting
 * [[
 * Advanced options

## ئورنىتىش

 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.

## FAQ

### 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.

## باھالاشلار

![](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/) 2024-يىلى 21-ئاۋغۇست

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/) 2022-يىلى 6-دېكابىر 1 
reply

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/) 2019-يىلى 7-ئۆكتەبىر

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/) 2018-يىلى 17-ئىيۇن

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/) 2018-يىلى 3-ماي

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/) 2017-يىلى 5-ئاۋغۇست

finally found the one that’s working

 [ 10 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## تۆھپىكار ۋە ئىجادكار

«Auto Prune Posts» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە
قوشقان.

تۆھپىكار

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

[«Auto Prune Posts» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/auto-prune-posts)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/auto-prune-posts/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/auto-prune-posts/) تەكشۈرۈپ ياكى 
[RSS](https://plugins.trac.wordpress.org/log/auto-prune-posts/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/auto-prune-posts/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 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

 *  Version **3.1.1**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **5 ئاي بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **1,000+**
 *  WordPress نەشرى ** 2.3 ياكى يۇقىرى **
 *  **6.8.5** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/auto-prune-posts/)
 * بەلگە
 * [clean](https://ug.wordpress.org/plugins/tags/clean/)[delete](https://ug.wordpress.org/plugins/tags/delete/)
   [expire](https://ug.wordpress.org/plugins/tags/expire/)[mass](https://ug.wordpress.org/plugins/tags/mass/)
   [prune](https://ug.wordpress.org/plugins/tags/prune/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/auto-prune-posts/advanced/)

## دەرىجە

 4.2/5 يۇلتۇز

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/?filter=1)

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

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## تۆھپىكار

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

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/auto-prune-posts/)