Auto deletes (prune) 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 🙂
- I have a lot of questions and I want support where can I go?
http://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.
When I install the plugin I get this error:
Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved.
Warning Declaration of plugin_auto_prune_posts::addPluginSubMenu() should be compatible with mijnpress_plugin_framework::addPluginSubMenu($title, $function, $file, $capability = 10, $where = 'plugins.ph...') 1 wp-content/plugins/auto-prune-posts/auto-prune-posts.php:20 wp-settings.php
Declaration of plugin_auto_prune_posts::addPluginContent($links, $file) should be compatible with mijnpress_plugin_framework::addPluginContent($filename, $links, $file, $config_url = NULL) 1 wp-content/plugins/auto-prune-posts/auto-prune-posts.php:20 wp-settings.php
Deprecated Non-static method mijnpress_plugin_framework::is_admin() should not be called statically
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 ? 🙂
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)