Auto deletes expires (prunes) posts after a certain amount of time. On a per category basis (single category, or all at once.
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 🙂
auto_prune_posts
to the /wp-content/plugins/
directoryhttp://pluginsupport.mijnpress.nl/ or drop me a tweet to notify me of your support topic over here.
I always check my tweets, so mention my name with @ramonfincken and your problem.
Bugfix: Added nonces for admin forms (CSRF)
Bugfix: PHP 8 compatibility
Bugfix: PHP 8 compatibility
Bugfix: Menu conflict with bbpress due to permissions
Bugfix: Removed PHP notices
Added: Settings for max deletes per run, and amount between runs
Added: max of 600 deletes per call, 300 sec delay
Bugfix: Changed the init after WP rewrite, due to errors with W3 total cache
Bugfix: Better hook (plugins_loaded instead of wp)
Added: Earlier flush and 20 seconds timeout
Bugfix: All categories now shown when saved
Bugfix: All categories
Added: All categories support
Bugfix: Only get latest 50 posts (performance fix), every 30 seconds
Changed: Dropdown now on category name (sort)
Bugfix: Framework did not work on multisite, is_admin() problem.
If anyone could help me with that ? 🙂
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)
First release