Description
CleanUp WP helps you quickly set up a fresh WordPress installation by removing default content, configuring sensible defaults, and enabling performance optimizations.
Why use CleanUp WP?
Every new WordPress installation comes with demo content you don’t need: “Hello World” post, sample pages, default comments, and bundled plugins like Hello Dolly and Akismet. Manually cleaning this up takes time.
CleanUp WP handles all of this with a single click, plus offers toggleable performance and security optimizations that you can enable or disable at any time.
Cleanup Tab (One-time tasks)
These tasks run once and get marked as done:
- Delete “Hello World” post
- Delete “Sample Page”
- Delete “Privacy Policy” page
- Delete default comment
- Delete Hello Dolly & Akismet plugins
- Delete unused themes (keeps active + parent)
- Clear widget areas
- Create main navigation menu
- Set pretty permalinks (/%postname%/)
- Disable comments by default
- Rename “Uncategorized” to “News”
- Disable user registration
- Organize uploads by year/month
- Set default image link to “None”
- Discourage search engine indexing
- Set timezone
- Create static homepage
Optimize Tab (Toggleable)
These can be turned ON or OFF at any time:
- Disable WordPress emojis (~20KB savings)
- Disable oEmbed
- Remove jQuery Migrate
- Disable Dashicons on frontend
- Clean up wp_head
- Disable self-pingbacks
- Reduce Heartbeat frequency
- Disable XML-RPC
- Hide WordPress version
- Disable file editing
- Disable user enumeration
- Clean dashboard (keep only Site Health and At a Glance)
Installation
- Upload the plugin files to
/wp-content/plugins/cleanup-wp/or install via the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Navigate to Tools → CleanUp WP.
- Select cleanup tasks, preview, and execute.
- Toggle optimizations on/off as needed.
FAQ
Can I undo the cleanup tasks?
No, cleanup tasks like deleting posts, pages, and plugins cannot be undone. Use the Preview button to see what will happen before executing.
Can I turn off optimizations?
Yes! The Optimize tab uses toggle switches. If something breaks, just flip it back off.
What happens when I delete the plugin?
All plugin options are removed from the database. Optimizations will no longer be active.
Changelog
2.2.1
- Fixed WordPress Plugin Check errors
- Removed Domain Path header (translations handled by WordPress.org)
- Added translator comments for internationalization
- Improved security checks and input sanitization
2.2.0
- Complete rewrite with OOP architecture
- Split into multiple files (class-plugin, class-cleanup, class-optimize)
- Added toggleable optimizations (can be turned on/off)
- Added Optimize tab with performance and security options
- One-time tasks now properly disabled after execution
2.1.0
- Added tabbed interface (Cleanup, Optimize, Security, Settings)
- Added dashboard cleanup option
- Added Privacy Policy page deletion (ID: 3)
- Added persistent optimizations
2.0.0
- Complete modernization from procedural to OOP
- Added admin interface with preview/execute workflow
- Added AJAX functionality
- Added security improvements (nonce, capability checks)
- Tasks only run on explicit user action
1.3
- Removes “Akismet Plugin” from Plugin directory
1.2.2
- Now the plugin is checking whether you’re using a child-theme or not. If so, the plugin will not delete any themes.
1.2.1
- Updated ReadMe.txt
1.2
- Disables user registration by default
- Renames “Uncategorized” category to “News”
- Disables commenting by default
1.1
- Corrected the name of the plugin
1.0
- Initial version of the plugin