sudar / bulk-delete

Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.
https://bulkwp.com
GNU General Public License v2.0
33 stars 8 forks source link
php wordpress-plugin

Bulk Delete

Contributors: bulkwp, sudar
Tags: mass, bulk, delete, post, user, meta fields, draft
Requires PHP: 5.6
Requires at least: 5.0
Tested up to: 5.1
Stable tag: 6.0.2
[Plugin Version]() [Total Downloads]() [Plugin Rating]() [WordPress Compatibility]() Build Status Code Coverage Scrutinizer Code Quality StyleCI License

Bulk delete posts, pages, users, taxonomy terms, attachments and meta fields based on different conditions and filters.

Description

Bulk Delete is a WordPress Plugin that allows you to delete posts, pages, users, taxonomy terms, attachments and meta fields in bulk based on different conditions and filters.

Features

The following conditions and filters are supported.

Deleting posts

This Plugin supports the following bulk delete options for deleting posts

All the above options support the following filters

Deleting posts by content

Deleting posts by user

Deleting pages

Like posts, all the above options support the following filters as well

Deleting post revisions

Deleting users

Deleting Taxonomy Terms

Deleting Meta Fields

Deleting Attachments

Deleting content from other plugins

More options coming soon :)

As you can see, the Plugin provide comprehensive options and filters to perform bulk deletion.

If you looking for just moving posts, instead of deleting, then use Bulk Move Plugin instead.

Pro Addons

The following are the popular pro addons that are available for purchase. The full list of pro addons is available at the plugin site.

PHP Support

Fully compatible with PHP v5.6 to v7.3

Development

The development of the Plugin happens over at github. If you want to contribute to the Plugin, fork the project at github and send me a pull request.

If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.

If you are looking for ideas, then you can start with one of TODO items from the issue tracker :)

Support

Translation

The Plugin currently has translations for the following languages.

The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know.

Credits

Thanks Martin Capodici for providing the code to implement the "delete specific page" feature.

Thanks to Time picker addon JavaScript library, which the Plugin uses.

Thanks to select2 JavaScript library, which the Plugin uses.

Installation

The simplest way to install the plugin is to use the built-in automatic plugin installer. Go to plugins -> Add New and then enter the name of the plugin to automatically install it.

If for some reason the above method doesn't work then you can download the plugin as a zip file, extract it and then use your favorite FTP client and then upload the contents of the zip file to the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

Frequently Asked Questions

After installing the Plugin, I just see a blank page.

This can happen if you have huge number of posts and your server is very underpowered. Check your PHP error log to see if there are any errors and correct them. The most common problems are script timeout or running out of memory. Change your PHP.ini file and increase the script timeout and/or amount of memory used by PHP process. You can view the current values of these settings from the system info page which can be accessed by going to Bulk WP -> System Info.

In particular try to change the following settings

You can also try to disable different sections of the Plugin, if you have huge number of posts.

How do I know what are the current values for these options configured in my server?

Access the System Info page using the menu Bulk WP -> System Info. The System info page displays the values for the different configuration options that are configured in your server.

How do I disable different sections of the Plugin

You can enable or disable different sections of the Plugin by choosing the required modules in the screen option. You can open screen options by clicking the link in the top right corner of the Plugin page.

Is it possible to restore the posts that I have deleted through the Plugin?

If you choose the option "Move to trash" then you can find them from trash. But if you choose "Delete permanently", then it is not possible to retrieve the posts. So be very careful.

Is it possible that some Plugin are not compatible with Bulk Delete?

Yes. If a Plugin rewrites the query vars by using add_filter( 'pre_get_posts' ) then it may be incompatible with this Plugin.

If you find any Plugin with which Bulk Delete doesn't work, then let me know and I will try to see if I can add support through some hack.

Is it possible to schedule deletion of posts?

The ability to schedule deletion of posts is available as a pro addon.

I have a question about the pro addons, how should I contact you?

You can contact us by posting about it in our support forum.

Screenshots

The above screenshot shows how you can delete posts by post status. You can choose to delete published posts, draft posts, pending posts, scheduled posts, private posts or sticky posts.

The above screenshot shows how you can delete posts by category. You can choose the post type from which you want to delete the posts.

The above screenshot shows how you can delete posts by tag.

The above screenshot shows how you can delete posts by custom taxonomy. You can choose the post type, taxonomy name and the terms from which you want to delete the posts.

The above screenshot shows how you can delete posts by custom post type.

The above screenshot shows how you can delete pages by status. You can choose between published pages, draft pages, pending pages, scheduled pages and private pages.

The above screenshot shows how you can delete users by user role. You can also filter by user's registered date or login date.

The above screenshot shows how you can delete users by user meta You can also filter by user's registered date or login date.

The above screenshot shows how you can enable/disable different sections in the delete posts page of the Plugin. Similarly you can enable different sections in the other pages of the plugin like delete posts, delete pages, delete users, delete meta fields and delete misc.

The above screenshot shows how you can enable/disable different sections in the delete users page of the Plugin.

The above screenshot shows how you can enable/disable different sections in the delete meta fields page of the Plugin.

The above screenshot shows the different pages that are available in the plugin.

The above screenshot shows how you can schedule auto delete of posts. Note that this feature is available only when you buy pro addons.

Readme Generator

This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.