WP-Sweep的作者是Lester 'GaMerZ' Chan，目前有100,000+个有效安装。已经Tested with 5.4.1版本的wordpress。
This plugin cleans up:
Orphaned post meta
Orphaned comment meta
Orphaned user meta
Orphaned term meta
Orphan term relationships
Duplicated post meta
Duplicated comment meta
Duplicated user meta
Duplicated term meta
Optimizes database tables
oEmbed caches in post meta
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/. Get the number of items that we will be sweeping.
* GET /wp-json/sweep/v1/details/. Get the details of the items that we will be sweeping.
* DELETE /wp-json/sweep/v1/sweep/. Runs sweep for that particular item.
WP-Sweep WP-CLI Commands
* wp sweep --all. Runs sweep for all items.
* wp sweep . Runs sweep for that particular item.
* wp sweep . Run sweep for the selected items.
WP-Sweep Available Items:
WP-Sweep is not compatible with the following plugins:
* Asgaros Forum
* Elementor Popup Builder
* Meta Slider
* Slider Revolution
* Viba Portfolio
Plugin icon by Freepik from Flaticon
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.