ZeroState

Description

ZeroState is a secure plugin that lets admins reset or selectively reset their WordPress site to a fresh “zero state.” ๐Ÿš€

Key Features

  • Full Site Reset ๐Ÿ—‘๏ธ: Completely reset your WordPress site. This deletes all posts, pages, comments, media (database entries and files in uploads), plugins, themes, and custom database tables. Your current admin account, core WordPress files are preserved.
  • Partial Reset Tools (PREMIUM FEATURES) ๐Ÿ”ง:
    • Delete Transients: Removes all transient database entries (temporary cache). ๐Ÿ•’
    • Reset Theme Options: Resets theme customizations made via the Customizer (theme mods). ๐ŸŽจ
    • Delete Inactive Themes: Deletes all themes. ๐Ÿ–ผ๏ธ
    • Delete Inactive Plugins: Deactivates and deletes all plugins. ๐Ÿ”Œ
    • Clean Uploads Folder: Deletes all files and folders inside the /wp-content/uploads/ directory. ๐Ÿ“
    • Empty Custom Tables: Empties (TRUNCATE) all custom database tables that are not part of the WordPress core. ๐Ÿ—„๏ธ
    • Delete Custom Tables: Deletes (DROP) all custom database tables that are not part of the WordPress core. ๐Ÿ—„๏ธ
    • Delete .htaccess File: Deletes the main .htaccess file from the WordPress root directory. WordPress typically regenerates this. ๐Ÿ“œ
  • Backup Warnings & Confirmations โš ๏ธ: Clear warnings and confirmation steps (like a confirmation slider) before performing destructive actions.

WARNING โš ๏ธ: Reset actions are irreversible. Always back up your site (database and files) before using this plugin.

Screenshots

  • ZeroState Dashboard: The modern, responsive interface in light mode, showing Full Site Reset and Partial Reset Tools.

Installation

  1. Download and Install ๐Ÿ“ฅ:
    • Upload the zerostate folder (the unzipped plugin folder) to the /wp-content/plugins/ directory via FTP.
    • OR, go to ‘Plugins > Add New’ in your WordPress admin, click ‘Upload Plugin’, and upload the zerostate.zip file.
  2. Activate โœ…:
    • Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Access Reset Tools ๐Ÿ› ๏ธ:
    • Navigate to Tools > ZeroState Reset in the WordPress admin menu.
  4. Backup First! ๐Ÿ’พ:
    • CRITICAL STEP: Before performing any reset, create a complete backup of your WordPress database and all files. Use a reliable backup plugin or your hosting provider’s backup tools.
  5. Use the Tools ๐ŸŽฏ:
    • Choose between a Full Site Reset or use the Partial Reset Tools to clean specific components. Read all warnings carefully.

FAQ

What does the Full Site Reset do? โ“

The Full Site Reset deletes all site content (posts, pages, comments), media library entries and files, custom database tables, and deactivates/deletes plugins and themes. It aims to return your site to a state similar to a fresh WordPress installation but preserves:
* Your current administrator account (login, password, email).
* Core WordPress files and directories.
* Your wp-config.php file.
* The default WordPress theme (e.g., Twenty Twenty-Four).
* The ZeroState plugin itself.
* The .htaccess file (unless specifically deleted using the partial tool).

Is the reset reversible? ๐Ÿšซ

No, all reset actions performed by ZeroState are irreversible. There is no undo button. This is why backing up your site before using the plugin is extremely important.

What are transients, and is it safe to delete them? ๐Ÿ•’

Transients are a form of temporary data storage (caching) used by WordPress and plugins. Deleting them is generally safe and can sometimes resolve issues caused by outdated cached data. WordPress and plugins will regenerate them as needed.

Can I reset only specific parts of my site? ๐Ÿ”ง

Yes, the Partial Reset Tools are designed for this. You can target specific components like inactive themes, inactive plugins, the uploads folder, theme options, transients, custom database tables, or the .htaccess file without affecting the entire site (premium Feature).

What happens to my admin account during a Full Site Reset? ๐Ÿ‘ค

Your current administrator account (the one performing the reset) is preserved. You will remain logged in, and your username, password, and email will not be changed.

Which files and folders are deleted during a Full Site Reset?

  • Database: All core WordPress content tables are dropped and recreated (posts, terms, comments, etc.). Custom tables are dropped. Options are reset to default, with some key site settings (like site URL, admin user) preserved.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ZeroState” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ZeroState” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.3

*UI and Styling Improvements.

1.0.2

*Minor changes.

1.0.1

  • Plugin renamed to “ZeroState”.
  • Addressed all feedback from the WordPress plugin review team.
  • Minor UI and styling improvements.

1.0.0

  • Initial release (as ResetWP).
  • Added Full Site Reset functionality.
  • Added Partial Reset Tools for transients, themes, plugins, uploads, custom tables, and .htaccess.