Design & creation · Product profile
WP-Sweep
WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
Image could not load. View the original source
Image provenance
Original publisher-supplied catalog image referenced with attribution; trademarks and image rights remain with their owners. · Verified Oct 28, 2026
Image could not load. View the original source
Image provenance
Original publisher-supplied catalog image referenced with attribution; trademarks and image rights remain with their owners. · Verified Oct 28, 2026
The idea
What it helps you do.
My open-source PHP work: WordPress plugins and standalone scripts, with download counts and a leaderboard.
- 01Features: Revisions; Auto drafts; Deleted posts; Unapproved comments; Spammed comments; Deleted comments; Orphaned post meta; Orphaned comment meta; Orphaned user meta; Orphaned term meta; Orphaned term relationships; Unused terms; Duplicated post meta; Duplicated comment meta; Duplicated user meta; Duplicated term meta; Transient options; oEmbed caches in post meta; Optimizes database tables
- 02Delete functions used: wp_delete_post_revision(); wp_delete_post(); wp_delete_comment(); delete_post_meta(); delete_comment_meta(); delete_user_meta(); delete_term_meta(); wp_remove_object_terms(); wp_delete_term(); delete_transient(); delete_site_transient()
- 03WP-Sweep finds the rows WordPress leaves behind and removes them. Revisions of posts you edited years ago, meta belonging to a post that was deleted, terms attached to nothing, term relationships pointing at posts that no longer exist, expired transients: none of it is visible anywhere in wp-admin, and all of it is in your database.
- 04It uses the proper WordPress delete functions wherever they can reach the row, rather than running raw delete queries, so the hooks other plugins rely on still fire. Only the rows the API refuses to touch — orphaned meta whose object ID is 0 — are deleted directly.
Before you begin
A few things to check.
- This profile summarizes publisher-supplied catalog information. Verify compatibility, current terms and support on the official page before deployment.
- Current commercial terms, plan limits, extensions and hosting costs need confirmation with the publisher.
People behind the work
The connection matters.
Repository ownership is verified separately from authorship, maintenance or founding. How we verify →
Sources & verification
Suggest a correction →- api.wordpress.orgSource evidence reviewed · Oct 28, 2026
- lesterchan.netSource evidence reviewed · Oct 28, 2026