This addon adds the ability to delete posts based on custom field. This will be really useful, if your plugin or theme uses custom fields to store additional information about a post.
You can delete posts based on the following criteria.
- Delete all posts that has a specific value for a custom field key (String, date or numbers)
- Delete all posts that does not have a specific value for a custom field key (String, date or numbers)
- Delete all posts that has a value less than given value in a custom field key (Date or numbers)
- Delete all posts that has a value greater than given value in a custom field key (Date or numbers)
- You can also choose relative dates like yesterday, today and tomorrow or dynamic dates like 2 days, 2 weeks, 2 months or 2 years.
In addition to the above options, you can also choose the following
- Choose the post type of posts that you want to delete
- Whether to move the posts to trash or permanently delete them
- Whether to delete private or public posts
- Delete posts in batches
This addon only provides the ability to delete posts by custom field. If you want to schedule deletion of posts automatically, then you would need the “Scheduler for deleting posts by custom field” addon.
- Feature: Added ability to use dynamic dates with custom fields
- Tweak: Added compatibility with The Events Calendar plugin
- Fix: Fix the issue in deleting posts by date
- Tweak: Add compatibility with Bulk Delete v5.4
- Fix: Fixed a bug that generated an "method not found" error
- New: Added the ability to auto update itself
- New: Add the ability to delete by custom post types
- Fix: Ability to specify date format for doing date comparisons
- Tweak: Move request processing code for deleting by custom field from main plugin to addon
- Fixed some typos in variable names
- Initial Release