PluginProbe ʕ •ᴥ•ʔ
Auto Post Cleaner / 3.14.0
Auto Post Cleaner v3.14.0
3.14.0 3.12.0 3.13.1 3.2.4 3.2.5 3.3.0 3.3.10 3.3.11 3.3.8 3.4.2 3.5.3 3.6.0 3.7.0 3.7.1 3.7.2 3.7.3 3.7.5 3.7.6 3.8.0 3.9.0 3.9.4 3.9.6 3.9.7 trunk 3.0.0 3.1.0 3.10.1 3.10.2 3.11.4
delete-old-posts-programmatically / readme.txt
delete-old-posts-programmatically Last commit date
assets 19 hours ago freemius 19 hours ago inc 19 hours ago languages 3 years ago README.md 3 months ago composer.json 5 years ago delete-old-posts-premium.php 3 years ago delete-old-posts-programmatically.php 3 years ago delete-old-posts.php 19 hours ago package-lock.json 3 months ago package.json 19 hours ago postcss.config.js 5 years ago readme.txt 19 hours ago styles.css 19 hours ago tailwind.config.js 2 years ago
readme.txt
323 lines
1 === Auto Post Cleaner ===
2 Contributors: wpmagics, freemius
3 Tags: bulk delete, auto delete, cleanup, posts, post manager
4 Requires at least: 5.7
5 Tested up to: 7.1
6 Requires PHP: 7.4
7 Stable tag: "trunk"
8 License: GPL3
9 License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
11 Keep your website clean by automatically deleting posts using a wide range of powerful filters.
12
13 == Description ==
14
15 Automatically delete old or outdated WordPress posts safely — keep your site clean, fast, and relevant.
16 This plugin lets you automatically remove outdated content from your WordPress site with ease.
17 Schedule deletions, filter by category, tag, post type, or status, and optionally redirect deleted posts to relevant pages to preserve SEO.
18 Perfect for bloggers, news sites, e-commerce stores, and anyone who wants a clean, optimized site without manual cleanup.
19
20 == Features ==
21
22 - 🕒 **Automatic Deletion** – Schedule post deletions automatically — no manual work needed.
23 - 🗂️ **Flexible Filtering** – Choose which posts to delete based on date, category, tag, post type, authors, or status.
24 - 🚫 **Exclude Important Posts** – Protect specific posts from deletion.
25 - 🔁 **SEO-Friendly Redirects** – Automatically redirect deleted posts to their closest match or a custom URL (optional).
26 - 💾 **Safe & Controlled** – Logs last deletion for easy review, so you always know what happened.
27 - 🧰 **Supports Custom Post Types** – Works with any posts type.
28 - 🔄 **“Set It and Forget It” Automation** – Once configured, it keeps your site clean automatically.
29 - 💡 **Lightweight & Fast** – No bloat, minimal database load, and compatible with all major themes and plugins.
30 - ❌ **Delete the post permanently** (PRO version).
31 - ❌ **Delete post attachments** 📎 🏞️ when the post is deleted (PRO version).
32
33 == Why You Might Need This Plugin ==
34
35 Keeping your WordPress site clean and relevant is important — but deleting old content manually takes time.
36 This plugin helps you automatically remove outdated posts, drafts, or custom content types on a schedule, based on your rules.
37
38 **You might need this plugin if:**
39
40 - 📰 You run a **blog** with time-sensitive posts (e.g., events, announcements, deals) that should disappear after a certain date.
41 - 🏪 You manage a **WooCommerce store** and want to automatically remove expired or seasonal products.
42 - 🎓 You run a **membership, e-learning, or event site** with temporary content that should be cleaned up regularly.
43 - 🗞️ You operate a **news or magazine site** and want to auto-delete posts older than 30, 60, or 90 days to keep your archive light.
44 - ⚙️ You’re a **developer or site maintainer** managing multiple WordPress installations and need a reliable cleanup automation tool.
45 - 🧠 You care about **SEO and performance**, and want to remove outdated or low-value content safely — optionally redirecting deleted posts to newer ones.
46 - �
47 You simply want a **“set it and forget it”** way to keep your WordPress dashboard clean and your site running fast.
48
49 == Installation ==
50
51 1. Upload the plugin files to the `/wp-content/plugins/delete-old-posts-programmatically` directory, or install the plugin through the WordPress plugins screen directly.
52 2. Activate the plugin through the 'Plugins' screen in WordPress.
53 3. Go to **Auto Post Cleaner** to configure schedules, filters, and optional redirects.
54 4. Save changes. The plugin will run automatically according to your schedule.
55
56 == Frequently Asked Questions ==
57
58 = Will this plugin delete posts permanently? =
59 Yes. Deleted posts are permanently removed from your database. We recommend creating a backup before first use.
60
61 = Can I exclude certain posts? =
62 Absolutely. You can set filters to protect specific post, or individual posts from deletion.
63
64 = Can I redirect deleted posts to another page? =
65 Yes. You can optionally redirect deleted posts to the closest relevant post or a custom URL to preserve SEO value.
66
67 = Does it work with custom post types? =
68 Yes. You can select any custom post type when configuring the plugin.
69
70 = Is there a Pro version? =
71 A Pro version is also available, offering additional features such as advanced deletion, the ability to delete a set number of posts in one go, and advanced filtering.
72
73 = How to get the Pro version? =
74 Install and activate the free version. Then upgrade from the plugin menu.
75
76 == Supported languages: ==
77
78 * English
79 * Deutsch
80 * Nederlands
81 * Français
82 * Italiana
83 * Norwegian
84 * Hindi
85 * Bengali
86
87 If you want, you can help [translate](https://translate.wordpress.org/projects/wp-plugins/delete-old-posts-programmatically/) the "Auto Post Cleaner" plugin into another language. Many thanks!
88 Please note that there are no guarantees that translations from the original English are accurate.
89
90 == Changelog ==
91
92 = 3.14.0 =
93 * Security fix: Added nonce verification to bulk actions on the redirects table to prevent CSRF.
94 * Feature: Add support for deleting attachments when the FIFU plugin is used.
95 * Fix: Redirects table not displaying properly.
96 * Update: SDK has been updated to the latest version.
97 * Update: Marked as compatible with WordPress 7.1
98 * Required PHP version increased up to 7.4
99
100 = 3.13.1 =
101 * Added: option to redirect all deleted posts to one URL.
102 * Updated: SDK to the latest version.
103
104 = 3.12.2 =
105 * Tested with version 6.9
106
107 = 3.12.1 =
108 * Updated: WP tags.
109
110 = 3.12.0 =
111 * Updated: SDK to the latest version.
112
113 = 3.11.0 =
114 * Updated: SDK to the latest version.
115
116 = 3.10.5 =
117 * Updated: Author page link.
118
119 = 3.10.3 =
120 * Updated: Plugin page link.
121
122 = 3.10.1 =
123 * Added: The ability to search for and select items from a list in the filters.
124 * Updated: SDK to the latest version.
125
126 = 3.9.7 =
127 * Updated: SDK to the latest version.
128
129 = 3.9.6 =
130 * Updated: FAQs.
131
132 = 3.9.5 =
133 * Updated: Plugin name.
134
135 = 3.9.4 =
136 * Updated: Short Description.
137
138 = 3.9.3 =
139 * Updated: Title and description.
140
141 = 3.9.2 =
142 * Updated: Stable Tag.
143
144 = 3.9.1 =
145 * Updated SDK to the latest version.
146
147 = 3.9.0 =
148 * Added: Filter to delete posts by tags.
149
150 = 3.8.0 =
151 * Updated SDK to the latest version.
152 * Fixed: The categories do not appear in the list for all selected post types.
153 * Added: Updated the "post status" with values according to the custom posts installed.
154
155 = 3.7.7 =
156 * Updated Freemius SDK to the latest version.
157 * Tested with version 6.5
158
159 = 3.7.6 =
160 * Fixed: the plugin's style is not updating on multisite.
161
162 = 3.7.5 =
163 * Fixed: the table position in "Redirects" was moving with the scroll.
164 * Fixed: the link "Edit" in "Redirects" was redirecting to the start of the table when on another page.
165
166 = 3.7.3 =
167 * Fixed: "Blank screen" on the plugin page.
168 * Changed: Description in "Show hidden Custom Post Types" option in "Filters".
169
170 = 3.7.2 =
171 * Changed: Description in "Show hidden Custom Post Types" option in "Filters".
172
173 = 3.7.1 =
174 * Fixed: "Show hidden Custom Post Types." option in "Filters." not saved on change.
175
176 = 3.7.0 =
177 * Added: The "Show hidden Custom Post Types." option in "Filters."
178 * Changed: Some texts.
179
180 = 3.6.0 =
181 * The "Post Type" section in "Filter" was extended to include non-public custom post types, like, for example, the Open User Map (OUM) locations.
182 * Now it's possible to delete even more old posts.
183
184 = 3.5.3 =
185 * Updated Freemius SDK to the latest version.
186 * Tested with version 6.4.2
187
188 = 3.5.2 =
189 * Updated Freemius SDK to the latest version.
190 * Tested with version 6.4.1
191
192 = 3.5.1 =
193 * Updated Freemius SDK to the latest version.
194 * Tested with version 6.3.2
195
196 = 3.5.0 =
197 * A new feature was added: it is now possible to delete posts with a specific post status (published, draft, etc.).
198
199 = 3.4.4 =
200 * Fixed: Attachments were not deleted when the "Delete the Posts Permanently" option was selected (Premium version). Thanks Rafael for signalling the problem!
201
202 = 3.4.3 =
203 * Updated Freemius SDK to the latest version.
204
205 = 3.4.2 =
206 * Fixed: Filters layout. When multiple users registered, the page expanded.
207
208 = 3.4.1 =
209 * Fixed: It was not possible to delete posts older than a day.
210 * Improved: Better description of relationships applied to selected categories or taxonomy terms
211 * SDK updated to version 2.5.9.
212
213 = 3.3.11 =
214 * Description changed.
215 * Tested with version 6.2.
216 * SDK updated to version 2.5.6.
217
218 = 3.3.10 =
219 * The SDK was updated to version 2.5.5.
220
221 = 3.3.9 =
222 * Fixed: Attachments were not deleted when the featured image was added at a later time to the post from the media library.
223 * Fixed: WooCommerce product gallery images were not deleted with the product.
224 * Added: Force delete images option to force delete the attached image from the post even if it is used by another post.
225 * Improved: The text used for information and descriptions has been improved.
226
227 = 3.3.8 =
228 * Fixed: Categories were not available in the filter before saving the filter form.
229
230 = 3.3.7 =
231 * Added: translation for italian.
232
233 = 3.3.6 =
234 * Fixed: Some WordPress installations display "Warning: [function.file-get-contents]: failed to open stream: No such file or directory" in the PRO version.
235
236 = 3.3.5 =
237 * Added: translation for Norwegian.
238
239 = 3.3.4 =
240 * Added: translation for Hindi and Bengali.
241
242 = 3.3.3 =
243 * Fixed: When the website's language was changed, the translation did not load.
244 * Some translation was edited, and some new texts have been translated.
245
246 = 3.3.2 =
247 * Added: translation files for Deutsch, Dutch, and French.
248
249 = 3.3.1 =
250 * Fixed: when no post types are selected, there is no indication that at least one post type has to be selected when filters are saved. Now the default post type is automatically selected.
251
252 = 3.3.0 =
253 * Fixed: attachments are no longer deleted when the same attachment is used in multiple posts (Pro version).
254
255 = 3.2.6 =
256 * Changed FAQs
257 * The SDK was updated to version 2.5.3.
258
259 = 3.2.5 =
260 * The SDK was updated to version 2.5.2.
261
262 = 3.2.4 =
263 * Changed: added features and FAQs to the readme file.
264
265 = 3.2.3 =
266 * Fixed: some settings from the premium version are propagated to the free version when the license key expires.
267
268 = 3.2.2 =
269 * Fixed: some texts could not be translated.
270 * Improved text descriptions about how to calculate the days in the past automatically.
271
272 = 3.2.1 =
273 * Added feature: the ability to delete posts based on a fixed date instead of a number of days in the past.
274
275 = 3.1.1 =
276 * Fixed: The deleted posts are redirected (301 Moved Permanently) even if the "Redirect the URL of the deleted post to a similar post when requested" option was not activated.
277
278 = 3.1.0 =
279 * This version introduces the option to delete the post attachments when the post is deleted.
280
281 = 3.0.0 =
282 * This is a major release of the plugin. It is recommended to make a complete backup of your website before updating.
283 * This version introduces new features like picking a date for the posts, filters, and the capability to manage the deleted posts redirections.
284 * Now it's possible to pause and resume the deletion of posts. It's also possible to filter the deleted posts by custom post types, category, taxonomy, and author.
285 * You can also specify a list of post ids to exclude, as well as filter the posts based on the search keyword(s).
286
287 = 2.1.4 =
288 * Some code improvements have been made.
289
290 = 2.1.3 =
291 * WP6.0 compatibility confirmed.
292 * Code optimisations.
293
294 = 2.1.2 =
295 * SDK update. Security release.
296
297 = 2.0.2 =
298 * Description changed.
299
300 = 2.0.1 =
301 * Description changed.
302
303 = 2.0.0 =
304 * Deleted post redirection was added as an option. Now it is possible to automatically redirect to a similar post when the deleted URL is called.
305 * The post to redirect to will be automatically chosen by the system as the best matching variant.
306
307 = 1.0.5 =
308 * More options added for the premium version.
309
310 = 1.0.3 =
311 * Description changed.
312
313 = 1.0.2 =
314 * Functionality improved.
315
316 = 1.0.1 =
317 * Core functionality improved.
318
319 = 1.0.0 =
320 * The first version was released.
321
322 == Upgrade Notice ==
323 * You should always install the latest version of the plugin because it might contain security patches and align with the latest releases of WordPress.