π A comprehensive WordPress plugin that provides an administrative interface for configuring automated deletion of posts, taxonomies, comments, and categories with advanced filtering options and comprehensive logging system.
- Automated Post Deletion - Bulk delete posts with customizable limits
- Comment Management - Automated comment cleanup
- Category & Tag Cleanup - Remove unused taxonomies
- Attachment Handling - Option to delete associated media files
- Flexible Scheduling - Multiple cron interval options
- Date Range Filtering - Include/exclude posts by date range
- User-based Filtering - Target specific authors or exclude them
- Status-based Selection - Filter by post status
- Batch Processing - Configurable limits per execution
- Comprehensive Logging System - Track all deletion activities
- Statistics Dashboard - Monitor deletion counts and execution history
- Real-time Status - View current process status
- Error Tracking - Detailed error reporting and handling
- Master Enable/Disable Switch - Global control over all operations
- Granular Controls - Enable/disable specific deletion types
- Safety Features - Confirmation prompts and warnings
- Flexible Scheduling - From every minute to daily intervals
- Download the plugin ZIP file
- Navigate to Plugins > Add New in your WordPress admin
- Click Upload Plugin and select the ZIP file
- Click Install Now and then Activate
- Download and extract the plugin files
- Upload the
auto-delete-postfolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
Configure all deletion settings including posts, comments, categories, and scheduling options
Monitor deletion statistics, execution history, and current process status
View detailed logs of all deletion activities, errors, and system messages
- Navigate to Settings: Go to Tools > Auto Delete Post Settings
- Enable the Plugin: Toggle the "Enable Deletion Process" switch
- Configure Post Settings: Set limits and enable post deletion
- Set Schedule: Choose your preferred cron interval
- Save Settings: Click "Save Changes" to activate
- Enable Deletion Process: Master switch for all deletion operations
- Cron Interval: Choose from multiple scheduling options:
- Every Minute
- Every 5 Minutes
- Every 15 Minutes
- Hourly
- Daily
- Posts per Execution: Set batch size (1-1000)
- Delete Attachments:
β οΈ Permanently removes associated media files - Date Filter: Include/exclude posts from specific date ranges
- User Filter: Target or exclude specific authors
- Comments per Execution: Set batch size (1-500)
- Status Filter: Target specific comment statuses
- Deletion Limits: Control batch sizes
- Empty Only Option: Delete only unused categories/tags
The plugin provides comprehensive monitoring through three main tabs:
- Total posts deleted
- Total comments deleted
- Total categories/tags deleted
- Execution history
- Last execution timestamp
- Real-time deletion logs
- Error tracking
- Success confirmations
- Detailed operation history
- Current process status
- Next scheduled execution
- Active filters summary
- System health indicators
- ALWAYS backup your database before enabling automated deletion
- Test settings on a staging environment first
- Start with small batch sizes to monitor impact
- Review logs regularly to ensure expected behavior
Enabling "Delete Attachments" will permanently remove all media files associated with deleted posts. This action cannot be undone.
- WordPress: 6.3 or higher
- PHP: 7.4 or higher
- MySQL: 5.6 or higher
- Memory: 128MB minimum (256MB recommended)
Plugin not deleting posts:
- Verify the master switch is enabled
- Check that post deletion is enabled
- Ensure cron jobs are working on your server
- Review error logs for specific issues
Cron jobs not running:
- Check if WordPress cron is disabled
- Verify server cron configuration
- Test with shorter intervals first
Memory issues:
- Reduce batch sizes
- Increase PHP memory limit
- Process smaller chunks at a time
We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.
This plugin is licensed under the GNU General Public License v2.0.
DynoWP
- Website: https://dynowp.com
- β¨ Complete rewrite with modern architecture
- π― Advanced filtering options (date and user-based)
- π Enhanced logging and statistics system
- π§ Improved admin interface with tabbed navigation
- β‘ Better performance and error handling
- π‘οΈ Enhanced security measures
π¨ Remember: Always backup your data before using automated deletion tools!