跳到内容

Factory Reset

v2.0.1

Ankit Rawat · 2025年1月30日 上架

Reset a single-site WordPress installation by removing site data and installed extensions.

正在使用
30+
评分
5.0 / 5
累计下载
2,273
最近更新
2026年8月22日
1 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

Factory Reset helps developers and advanced users clean a single-site WordPress installation without reinstalling WordPress.

The reset permanently removes site content, comments, uploaded files, users other than the current administrator, installed plugins other than Factory Reset, non-core database tables, and installed themes other than the active theme and its parent theme.

The active theme is preserved so the installation is not left without a usable theme. WordPress core files, the current administrator account, core database tables, and the site’s installation URLs are preserved.

Important: This operation is permanent. Always create and verify a backup before using Factory Reset.

Features

  • Delete posts, pages, custom post types, attachments, revisions, and related data through WordPress APIs.
  • Delete comments.
  • Delete all users except the current administrator.
  • Remove non-core database tables using WordPress’s core table list as the protected set.
  • Empty the configured WordPress uploads directory while preserving the directory itself.
  • Remove installed plugins except Factory Reset.
  • Remove installed themes except the currently active theme.
  • Reset selected core site settings to clean defaults.
  • Require the administrator to type RESET before the operation can run.
  • Use WordPress nonces and capability checks for the destructive action.
  • Single-site only; multisite installations are refused.

License

This plugin is licensed under the GNU General Public License v2 or later.

Author

Developed by Ankit Rawat.

Plugin URI

For more information, visit the plugin page.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums