Title: Factory Reset
Author: Ankit Rawat
Published: <strong>জানুৱাৰী 30, 2025</strong>
Last modified: আগষ্ট 21, 2026

---

প্লাগিনৰ সন্ধান কৰক

![](https://ps.w.org/factory-reset/assets/icon-256x256.png?rev=3231717)

# Factory Reset

 [Ankit Rawat](https://profiles.wordpress.org/ankitrawat/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/factory-reset.2.0.1.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/factory-reset/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/factory-reset/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/factory-reset/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/factory-reset/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/factory-reset/)

## বৰ্ণনা

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](https://ankitrawat.com/products/factory-reset/).

## ইনষ্টলেশ্যন

 1. Install and activate Factory Reset from the WordPress Plugins screen.
 2. Go to **Tools > Factory Reset**.
 3. Read the warning and make a verified backup.
 4. Type `RESET` in the confirmation field.
 5. Click **Reset Site**.

## সঘনাই উত্থাপিত প্ৰশ্ন

### Is Factory Reset reversible?

No. The reset permanently deletes data. Restore a verified backup if you need to
recover the site.

### Which user is preserved?

The administrator account that performs the reset is preserved. Other WordPress 
users are deleted.

### Are WordPress core database tables deleted?

No. WordPress core tables are explicitly protected. Tables outside WordPress’s core
table list that use the site’s database prefix are removed.

### Are WordPress core files deleted?

No. The plugin only removes files within the configured uploads directory and installed
plugins/themes. WordPress core files are not touched.

### Is the active theme deleted?

No. The active theme is preserved so the site remains usable after the reset. If
it is a child theme, its parent theme is preserved too.

### Does Factory Reset support multisite?

No. The plugin deliberately refuses to run on multisite installations.

### Does Factory Reset send data anywhere?

No. The plugin does not make remote requests, collect telemetry, or send usage data.

### Should I use this on a production site?

Only if you intentionally want to permanently remove the site’s data and have a 
verified backup. The plugin is primarily intended for development, testing, and 
controlled site resets.

## পৰ্য্যালোচনা

![](https://secure.gravatar.com/avatar/3fdba3c5f4d40f64dce20f10811d23cc6b4c771f97ea42d64ca878654161141c?
s=60&d=retro&r=g)

### 󠀁[Works as it says](https://wordpress.org/support/topic/works-as-it-says-19/)󠁿

 [Vatika](https://profiles.wordpress.org/vatikaretreat/) ফেব্ৰুৱাৰী 14, 2025

simple plugin to factory reset your installation. Works smoothly!

 [ আটাই 1টা পৰ্য্যালোচনা পঢ়ক ](https://wordpress.org/support/plugin/factory-reset/reviews/)

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Factory Reset” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ Ankit Rawat ](https://profiles.wordpress.org/ankitrawat/)

[আপোনাৰ ভাষাত “Factory Reset” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/factory-reset)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/factory-reset/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/factory-reset/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/factory-reset/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/factory-reset/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

#### 2.0.1

 * Updated WordPress compatibility metadata for WordPress 7.1.
 * Updated the official plugin URL to https://ankitrawat.com/products/factory-reset/.
 * Bumped the plugin version to 2.0.1 for the compatibility and metadata release.
 * Clarified that the active theme and its parent theme are preserved during reset.

#### 2.0.0

 * Updated compatibility metadata for WordPress 7.0.
 * Reworked destructive operations to protect WordPress core database tables.
 * Added single-site enforcement.
 * Added mandatory `RESET` confirmation.
 * Improved capability, nonce, input validation, output escaping, and redirect handling.
 * Removed hard-coded `wp-content` paths in favor of WordPress directory APIs.
 * Fixed plugin self-preservation for both directory and root-level installations.
 * Preserved the active theme to avoid leaving the site without a usable theme.
 * Improved large-site deletion by processing posts in batches.
 * Removed the old custom-folder assumption and now clear the configured uploads
   directory.
 * Added internationalization-ready text domain and translatable admin strings.
 * Updated documentation for current WordPress.org plugin requirements.

#### 1.3

 * Preserved the empty themes folder after reset.
 * Improved code structure and readability.
 * Added a `$preserve_directory` parameter to the `delete_files` method.
 * Updated documentation and tested compatibility with WordPress 6.7.

#### 1.2

 * Initial release with basic reset functionality.

## মেটা

 *  **2.0.1** সংস্কৰণ
 *  **2 সপ্তাহ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **20+**
 *  WordPress-ৰ সংস্কৰণ ** 6.0 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **7.1**
 *  PHP-ৰ সংস্কৰণ ** 7.4 বা তাতকৈ ওপৰৰ **
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/factory-reset/)
 * [reset](https://as.wordpress.org/plugins/tags/reset/)[site reset](https://as.wordpress.org/plugins/tags/site-reset/)
   [wordpress-reset](https://as.wordpress.org/plugins/tags/wordpress-reset/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/factory-reset/advanced/)

## ৰে’টিংবোৰ

 5টাৰ ভিতৰত 5টা তৰা।

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/factory-reset/reviews/#new-post)

[সকলো পৰ্য্যালোচনা চাওক](https://wordpress.org/support/plugin/factory-reset/reviews/)

## অৱদানকাৰীসকল

 *   [ Ankit Rawat ](https://profiles.wordpress.org/ankitrawat/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/factory-reset/)