Title: Factory Reset
Author: Ankit Rawat
Published: <strong>2025 ལོའི་ཟླ 1 ཚེས 30 ཉིན།</strong>
Last modified: 2025 ལོའི་ཟླ 1 ཚེས 31 ཉིན།

---

མཐུད་སྣེ་བཤེར་འཚོལ།

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](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.1.3.zip)

 * [ཞིབ་ཕྲ།](https://bo.wordpress.org/plugins/factory-reset/#description)
 * [གདེང་འཇོག](https://bo.wordpress.org/plugins/factory-reset/#reviews)
 *  [སྒྲིག་འཇུག](https://bo.wordpress.org/plugins/factory-reset/#installation)
 * [ཡར་རྒྱས།](https://bo.wordpress.org/plugins/factory-reset/#developers)

 [རམ་འདེགས།](https://wordpress.org/support/plugin/factory-reset/)

## ཞིབ་བརྗོད།

The **Factory Reset** plugin allows you to reset your WordPress site to its default
state with a single click. It is designed for developers, testers, or anyone who
needs to quickly clean up a WordPress installation.

**Warning:** This plugin is extremely powerful and should be used with caution. 
It will delete all posts, pages, media, plugins, themes, custom files, and database
tables (except for the current user and basic WordPress settings). The `themes` 
folder will be preserved but emptied.

### Features

 * Delete all posts, pages, custom post types, and associated metadata.
 * Remove all comments and media files.
 * Delete all users except the current admin.
 * Reset WordPress options to default values.
 * Drop all custom database tables with the `wp_` prefix.
 * Delete all files in `wp-content/uploads` and custom folders.
 * Remove all plugins except this one.
 * Empty the `themes` folder while preserving its structure.
 * Easy-to-use admin interface with a confirmation prompt.

### License

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

### Author

Developed by [Ankit Rawat](https://ankitrawat.com).

### Plugin URI

For more information, visit the [plugin page](https://ankitrawat.com/factory-reset-plugin/).

## སྒྲིག་འཇུག

 1. Upload the `factory-reset` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **Tools > Factory Reset** in the WordPress admin dashboard.
 4. Click the **Reset Site** button to reset your site to its default state.

## FAQ

### Q: Is this plugin safe to use?

A: This plugin is designed for developers and advanced users. It permanently deletes
data, so use it with caution. Always back up your site before using it.

### Q: What happens to the current user?

A: The current admin user is preserved, and all other users are deleted.

### Q: Does this plugin delete the `themes` folder?

A: No, the `themes` folder is preserved but emptied. This ensures the directory 
structure remains intact.

### Q: Can I recover data after using this plugin?

A: No, this plugin permanently deletes data. Ensure you have a backup before proceeding.

### Q: Does this plugin work on multisite installations?

A: No, this plugin is designed for single-site installations only.

## གདེང་འཇོག

![](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/) 2025 ལོའི་ཟླ 2 ཚེས 14 ཉིན།

simple plugin to factory reset your installation. Works smoothly!

 [ གདེང་འཇོག 1 ཡོངས་སུ་ཀློག ](https://wordpress.org/support/plugin/factory-reset/reviews/)

## བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

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

བྱས་རྗེས་འཇོག་མཁན།

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

[ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Factory Reset” ཡིག་སྒྱུར་བྱོས།](https://translate.wordpress.org/projects/wp-plugins/factory-reset)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/factory-reset/), check
out the [SVN repository](https://plugins.svn.wordpress.org/factory-reset/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/factory-reset/) 
by [RSS](https://plugins.trac.wordpress.org/log/factory-reset/?limit=100&mode=stop_on_copy&format=rss).

## དག་བཅོས་ཉིན་ཐོ།

#### 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.

## ཟུར་བརྗོད།

 *  Version **1.3**
 *  Last updated **ལོ 1 སྔོན།**
 *  Active installations **20+**
 *  WordPress version ** 6.0 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.4 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Language
 * [English (US)](https://wordpress.org/plugins/factory-reset/)
 * Tags
 * [reset](https://bo.wordpress.org/plugins/tags/reset/)[site reset](https://bo.wordpress.org/plugins/tags/site-reset/)
   [wordpress-reset](https://bo.wordpress.org/plugins/tags/wordpress-reset/)
 *  [མཐོ་རིམ་མཐོང་སྣང་།](https://bo.wordpress.org/plugins/factory-reset/advanced/)

## གདེང་འཇོག

 5 out of 5 stars.

 *  [  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)

[See all reviews](https://wordpress.org/support/plugin/factory-reset/reviews/)

## བྱས་རྗེས་འཇོག་མཁན།

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

## རམ་འདེགས།

Got something to say? Need help?

 [རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།](https://wordpress.org/support/plugin/factory-reset/)