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
Screenshots
- Shows how you can match a meta key and meta value
- Shows various comparison options
- For date based comparison you can pick up a date
- For date based comparison you can also specify the format in which the date is stored in meta value
- For date based comparison you can also pick a relative date
- For date based comparison you can also pick a relative date
- For date based comparison you can also pick a custom date
- For date based comparison you can also pick a custom date
- Shows how you can filter out posts based on published date
- Show how you can decided between moving to trash or deleting permanently
- Shows how you can restrict based on private and public posts
- Shows how you can restrict the number of posts that gets deleted
- You can also schedule the deletion
- Scheduling deletion of posts by custom field
Scheduling
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.
Current version: 1.0.2
Show Change Log