{"id":10388,"date":"2010-10-31T19:15:59","date_gmt":"2010-10-31T19:15:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/auto-prune-posts\/"},"modified":"2025-11-11T12:10:54","modified_gmt":"2025-11-11T12:10:54","slug":"auto-prune-posts","status":"publish","type":"plugin","link":"https:\/\/mk.wordpress.org\/plugins\/auto-prune-posts\/","author":1849791,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.1","stable_tag":"3.1.1","tested":"6.8.5","requires":"2.3","requires_php":"","requires_plugins":null,"header_name":"Auto Prune Posts","header_author":"Ramon Fincken","header_description":"","assets_banners_color":"","last_updated":"2025-11-11 12:10:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.mijnpress.nl","header_author_uri":"https:\/\/www.mijnpress.nl","rating":4.2,"author_block_rating":0,"active_installs":1000,"downloads":49735,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"ramon fincken","date":"2010-11-21 09:54:22"},"1.1":{"tag":"1.1","author":"ramon fincken","date":"2011-05-20 12:47:53"},"1.5":{"tag":"1.5","author":"ramon fincken","date":"2012-01-18 10:05:40"},"1.6":{"tag":"1.6","author":"ramon fincken","date":"2012-11-26 20:01:24"},"1.6.1":{"tag":"1.6.1","author":"ramon fincken","date":"2012-11-27 19:53:52"},"1.6.2":{"tag":"1.6.2","author":"ramon fincken","date":"2014-02-26 21:56:20"},"1.6.3":{"tag":"1.6.3","author":"ramon fincken","date":"2014-09-04 19:09:08"},"1.6.4":{"tag":"1.6.4","author":"ramon fincken","date":"2014-09-15 19:23:04"},"1.6.5":{"tag":"1.6.5","author":"ramon fincken","date":"2018-09-06 11:20:31"},"1.6.6":{"tag":"1.6.6","author":"ramon fincken","date":"2019-06-21 09:25:35"},"1.7.0":{"tag":"1.7.0","author":"ramon fincken","date":"2021-11-22 11:40:36"},"1.8.0":{"tag":"1.8.0","author":"ramon fincken","date":"2022-12-09 08:50:35"},"2.0.0":{"tag":"2.0.0","author":"ramon fincken","date":"2023-03-10 15:38:12"},"3.0.0":{"tag":"3.0.0","author":"ramon fincken","date":"2024-11-01 11:58:58"},"3.1.0":{"tag":"3.1.0","author":"ramon fincken","date":"2025-11-11 12:09:24"},"3.1.1":{"tag":"3.1.1","author":"ramon fincken","date":"2025-11-11 12:10:54"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":2,"4":0,"5":7},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.5","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.7.0","1.8.0","2.0.0","3.0.0","3.1.0","3.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3393625,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3393625,"resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3393625,"resolution":"3","location":"plugin"}},"screenshots":{"1":"Start overview","2":"All options, you can update or delete each setting","3":"Advanced options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4657,2872,9501,8384,9626],"plugin_category":[40,45,50],"plugin_contributors":[79297],"plugin_business_model":[],"class_list":["post-10388","plugin","type-plugin","status-publish","hentry","plugin_tags-clean","plugin_tags-delete","plugin_tags-expire","plugin_tags-mass","plugin_tags-prune","plugin_category-calendar-and-events","plugin_category-ecommerce","plugin_category-media","plugin_contributors-ramon-fincken","plugin_committers-ramon-fincken"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/auto-prune-posts.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/auto-prune-posts\/trunk\/screenshot-1.png?rev=3393625","caption":"Start overview"},{"src":"https:\/\/ps.w.org\/auto-prune-posts\/trunk\/screenshot-2.png?rev=3393625","caption":"All options, you can update or delete each setting"},{"src":"https:\/\/ps.w.org\/auto-prune-posts\/trunk\/screenshot-3.png?rev=3393625","caption":"Advanced options"}],"raw_content":"<!--section=description-->\n<p>Auto deletes expires (prunes) posts or pages after a certain amount of time. On a per category basis (single category, or all at once).<br \/>\nHandy if you want to have posts with a limited timeframe such as offers, coupons etc..<br \/>\nPosts will auto delete on a per category basis: single category OR all categories at once.<br \/>\nAll (custom)post types are supported. (CPT support)<br \/>\nWill also trash post attachments.<br \/>\nSends notification to site admin (can be turned off).<br \/>\nNo cronjob needed :)<br \/><\/p>\n\n<ul>\n<li>Coding by: <a href=\"https:\/\/www.mijnpress.nl\">MijnPress.nl<\/a> <a href=\"https:\/\/mastodon.social\/@ramonfincken\">Mastodon profile<\/a> <a href=\"https:\/\/profiles.wordpress.org\/ramon-fincken\/\">More plugins<\/a><br \/><\/li>\n<li>Idea by <a href=\"https:\/\/www.nostromo.nl\">Nostromo.nl<\/a><br \/><\/li>\n<\/ul>\n\n<p>Donate <a href=\"https:\/\/donate.ramonfincken.com\/\">https:\/\/donate.ramonfincken.com\/<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload directory <code>auto_prune_posts<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Visit Plugins menu to configure the plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='i%20have%20a%20lot%20of%20questions%20and%20i%20want%20support%20where%20can%20i%20go%3F'><h3>I have a lot of questions and I want support where can I go?<\/h3><\/dt>\n<dd><p><a href=\"https:\/\/pluginsupport.mijnpress.nl\/\">https:\/\/pluginsupport.mijnpress.nl\/<\/a> or drop me a tweet to notify me of your support topic over here.<br \/>\nI always check my toots, so mention my name with https:\/\/mastodon.social\/deck\/@ramonfincken and your problem.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.1<\/h4>\n\n<p>Bugfix: Re-added the framework<\/p>\n\n<h4>3.1.0<\/h4>\n\n<p>Change: Removed &amp;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.<\/p>\n\n<h4>3.0.0<\/h4>\n\n<p>Bugfix: XSS in POST types<\/p>\n\n<h4>2.0.0<\/h4>\n\n<p>Bugfix: Added nonces for admin forms (CSRF)\nBugfix: PHP 8 compatibility<\/p>\n\n<h4>1.8.0<\/h4>\n\n<p>Bugfix: PHP 8 compatibility<\/p>\n\n<h4>1.7.0<\/h4>\n\n<p>Bugfix: Menu conflict with bbpress due to permissions<\/p>\n\n<h4>1.6.6<\/h4>\n\n<p>Bugfix: Removed PHP notices<br \/>\nAdded: Settings for max deletes per run, and amount between runs<\/p>\n\n<h4>1.6.5<\/h4>\n\n<p>Added: max of 600 deletes per call, 300 sec delay<\/p>\n\n<h4>1.6.4<\/h4>\n\n<p>Bugfix: Changed the init after WP rewrite, due to errors with W3 total cache<\/p>\n\n<h4>1.6.3<\/h4>\n\n<p>Bugfix: Better hook (plugins_loaded instead of wp) <br \/>\nAdded: Earlier flush and 20 seconds timeout<\/p>\n\n<h4>1.6.2<\/h4>\n\n<p>Bugfix: All categories now shown when saved<\/p>\n\n<h4>1.6.1<\/h4>\n\n<p>Bugfix: All categories<\/p>\n\n<h4>1.6<\/h4>\n\n<p>Added: All categories support\nBugfix: Only get latest 50 posts (performance fix), every 30 seconds\nChanged: Dropdown now on category name (sort)<\/p>\n\n<h4>1.5<\/h4>\n\n<p>Bugfix: Framework did not work on multisite, is_admin() problem.<br \/>If anyone could help me with that ? :)<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Second release<br \/>\nAdded: Custom post type support<br \/>\nAdded: Trash OR force delete option<br \/>\nAdded: Mail admin if post is deleted<br \/>\nChanged: Init method is now every 30 seconds, all posts are checked.<br \/>\nAdded: If you add &amp;prune=true in your admin plugin page the plugin will run manually (force run)<br \/><\/p>\n\n<h4>1.0<\/h4>\n\n<p>First release<\/p>","raw_excerpt":"Auto deletes expires (prunes) posts after a certain amount of time. On a per category basis (single category, or all at once.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10388"}],"author":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ramon-fincken"}],"wp:attachment":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10388"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10388"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10388"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10388"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10388"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}