Title: Auto Prune Posts
Author: ramon fincken
Published: <strong>31 Tháng 10, 2010</strong>
Last modified: 11 Tháng 11, 2025

---

Tìm kiếm plugin

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

# Auto Prune Posts

 Bởi [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[Tải về](https://downloads.wordpress.org/plugin/auto-prune-posts.3.1.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/auto-prune-posts/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/auto-prune-posts/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/auto-prune-posts/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/auto-prune-posts/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/auto-prune-posts/)

## Mô tả

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

## Ảnh màn hình

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

## Cài đặt

 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.

## Hỏi đáp

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

## Đánh giá

![](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 Tháng 8, 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 Tháng 12, 2022 1 trả
lời

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 Tháng 10, 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 Tháng 6, 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 Tháng 5, 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 Tháng 8, 2017

finally found the one that’s working

 [ Đọc tất cả 10 đánh giá ](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## Người đóng góp & Lập trình viên

“Auto Prune Posts” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Auto Prune Posts” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/auto-prune-posts)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/auto-prune-posts/), check
out [SVN repository](https://plugins.svn.wordpress.org/auto-prune-posts/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/auto-prune-posts/)
qua [RSS](https://plugins.trac.wordpress.org/log/auto-prune-posts/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

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

 *  Phiên bản **3.1.1**
 *  Cập nhật lần cuối **7 tháng trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 2.3 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.5**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/auto-prune-posts/)
 * Thẻ
 * [clean](https://vi.wordpress.org/plugins/tags/clean/)[delete](https://vi.wordpress.org/plugins/tags/delete/)
   [expire](https://vi.wordpress.org/plugins/tags/expire/)[mass](https://vi.wordpress.org/plugins/tags/mass/)
   [prune](https://vi.wordpress.org/plugins/tags/prune/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/auto-prune-posts/advanced/)

## Đánh giá

 4.2 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

     0 trên 1

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/auto-prune-posts/)