Directory / plugin

SiteFlush

v1.0.0 · by jinaldesai

Flush your WordPress site to a completely fresh installation. Removes all content, plugins (except this one), themes, and uploads.

About this plugin

Flush WordPress site to a fresh, clean slate with a single click. This is perfect for:

  • Development and testing environments
  • Cleaning up after experiments
  • Starting fresh without manual database manipulation
  • Learning WordPress without creating new installations

What Gets Removed

When you run SiteFlush, the following happens:

  • Database: All WordPress tables are dropped and recreated
  • Plugins: All plugins are deactivated and deleted (except SiteFlush)
  • Themes: All non-default themes are deleted
  • Uploads: All files in wp-content/uploads are deleted
  • Settings: Site options are reset to defaults

What Stays Safe

  • wp-config.php (database credentials remain intact)
  • .htaccess (server configuration unchanged)
  • SiteFlush plugin itself
  • WordPress core files
  • Default WordPress themes (Twenty Twenty-series)

Important Warnings

⚠️ This action is DESTRUCTIVE and IRREVERSIBLE

  • There is NO undo
  • There is NO backup (in the free version)
  • ALL your content will be permanently deleted
  • Use only on development/testing sites

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • Single-site installation only (multisite not supported)
  • manage_options capability (administrator role)

Plugin tags