We'll create fresh WordPress site with WP-Sweep installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin cleans up:
This plugin uses proper WordPress delete functions as much as possible instead of running direct delete MySQL queries.
Following delete functions are used:
WP-Sweep WP REST API Endpoints
* GET /wp-json/sweep/v1/count/<Name>
. Get the number of items that we will be sweeping.
* GET /wp-json/sweep/v1/details/<Name>
. Get the details of the items that we will be sweeping.
* DELETE /wp-json/sweep/v1/sweep/<Name>
. Runs sweep for that particular item.
WP-Sweep WP-CLI Commands
* wp sweep --all
. Runs sweep for all items.
* wp sweep <Name>
. Runs sweep for that particular item.
* wp sweep <Name1> <Name2>
. Run sweep for the selected items.
WP-Sweep Available Items:
* revisions
* auto_drafts
* deleted_posts
* unapproved_comments
* spam_comments
* deleted_comments
* transient_options
* orphan_postmeta
* orphan_commentmeta
* orphan_usermeta
* orphan_termmeta
* orphan_term_relationships
* unused_terms
* duplicated_postmeta
* duplicated_commentmeta
* duplicated_usermeta
* duplicated_termmeta
* optimize_database
* oembed_postmeta
WP-Sweep is not compatible with the following plugins:
* Asgaros Forum
* Custom Fonts
* Elementor Popup Builder
* MailPress
* Meta Slider
* Polylang
* Slider Revolution
* Viba Portfolio
* WPML
I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.