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.

Plugin URI

For more information, visit the plugin page.

설치

  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.

후기

2025년 2월 14일
simple plugin to factory reset your installation. Works smoothly!
모든 1 평가 읽기

기여자 & 개발자

“Factory Reset”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Factory Reset”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록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.