Dev4Press No Script


The core of the SweepPress plugin is the Sweep panel where you can see all the registered sweepers, review all the information, get additional help about each sweeper, and run the sweepers.

SweepPress will not register every included sweeper, because some sweepers have requirements. If the requirements are not met, the sweeper will not be loaded. So, if you don’t have Gravity Forms plugin, sweepers related to Gravity Forms will not be loaded at all; if you don’t have any plugin using Action Scheduler database tables, related sweepers will not be loaded.

Panel Interface

Sweep Panel shows all the available sweepers. Every sweeper belongs to a category, so the category for sweepers will be displayed first.

Top of the page shows count of action vs total sweepers. Total number refers to number of currently loaded and registered sweepers, and Active number refers to number of sweepers that have something to sweep (estimation higher than zero). Beside these counts you have the Eye icon, and clicking this icon will reveal inactive sweepers along with the active sweepers.

Sweep Panel Interface

By default, only active (sweepers that can remove some data) are visible. Each sweeper shows title of the sweeper, several button icons and the list of sweeper tasks. Each sweeper can include multiple tasks, or just one task. Sweepers having multiple tasks usually are related to posts – and each post type is individual task, allowing you to remove data only related to a selected post type.

As for the icon buttons each sweeper has, they are very useful to reveal additional information:

  • Toggle Help button: This button will reveal a section under the title where the sweeper description and additional information is revealed, including when was the last time that sweeper was used.
  • Toggle Affected Tables button: This button will show the list of database tables affected by the sweeper. Some sweepers are affecting single table, but many tables will remove records from multiple tables at once. If you remove post related data, it will remove postmeta data, and comments related to the deleted post.
  • Toggle Empty Tasks button: This button is available for sweepers that have more than one task, and will show tasks that are hidden because they are empty.
  • Toggle Limitations button: This button will show information about the sweeper limitations, including what types of sweeping will be able to use the sweeper. Some sweepers can be run only via Sweep panel, and will not be available for Auto or Quick sweeping.
  • High System Requirements sign: This red icon is not a button, just an indicator about sweeper having high system requirements. This means that with big websites, sweeper can take long time to estimate or remove data.

The image below shows some of the buttons active showing additional data.

Sweep Panel Detail

Sweeping Process

There is no option to auto select all the sweepers all at once. You need to manually check which sweepers you want. This is done on purpose, so you will make the informed decision about what you want removed. There is a checkbox for every sweeper that will select all the tasks for that sweeper.

Once you select what you want to remove, box on the left side shows number of tasks selected, and estimated number of records and data size that will be removed. When you click on the Run Sweeper button, plugin will send the sweeping request, and after few seconds, you will see the results.

Important Notices

  • How long the sweeping takes depends on the number of selected sweepers and the database size. The larger the data set that needs to be removed, it takes more time.
  • If you have a large database (5GB+), it is best to run sweepers one by one and avoid timeouts during the process.
Rate this article

You are not allowed to rate this post.

Leave a Comment