Title: Factory Reset
Author: Ankit Rawat
Published: <strong>30 ژانویه 2025</strong>
Last modified: 31 ژانویه 2025

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](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://fa.wordpress.org/plugins/factory-reset/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/factory-reset/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/factory-reset/#installation)
 * [توسعه](https://fa.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.

## سوالات متداول

### 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/) 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/) مشترک شوید.

## گزارش تغییرات

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

## اطلاعات

 *  نگارش **1.3**
 *  آخرین به‌روزرسانی **1 سال پیش**
 *  نصب‌های فعال **20+**
 *  نگارش وردپرس ** 6.0 یا بالاتر **
 *  آزمایش‌شده تا **6.7.5**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/factory-reset/)
 * برچسب
 * [reset](https://fa.wordpress.org/plugins/tags/reset/)[site reset](https://fa.wordpress.org/plugins/tags/site-reset/)
   [wordpress-reset](https://fa.wordpress.org/plugins/tags/wordpress-reset/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/factory-reset/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/factory-reset/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](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/)