The WordPress Database Reset plugin allows you to reset the database back to its default settings without having to go through the WordPress 5 minute installation.
- Extremely fast one click process to reset the WordPress database
- Choose to reset the entire database or specific database tables
- Secure and super simple to use
- Prefer the command line? Reset the database in one command
- Excellent for theme and plugin developers who need to clean the database of any unnecessary content
Create a new post in the WordPress Database Reset support forum.
Want to help out?
- Provide new language translations – read this tutorial or use the online PO Editor.
- Help develop the plugin by forking the code repository on GitHub.
- Want to help others that might be having issues? Answer questions on the support forum.
- If you love this plugin and would like to make a donation: 1. You’re awesome and 2. You can find the donate button on the plugin page.
I needed to delete 6000 posts from my site, installed this plugin, selected the posts table, entered the coe, and it deleted the posts. Too easy.
I've used this plugin on my testing sites to reset the sites back to "default". The plugin is straightforward and simple to use and I've never had an issue.
- Fix for plugin page not showing up in tools menu (on some hosting providers)
- Update how session tokens were being restored
- Remove unnecessary nonce
- Bump ‘requires at least’ to version 4.2
- Change ‘theme_data’ to ‘theme_plugin_data’
- Fix plugin disabled after update, thanks to Ulrich Pogson
- Update the pot file
- Completely re-written from scratch
- Add extended WP_CLI command class
- Clean up admin interface
- Remove unnecessary help tabs
- Submit button is now deactivated until user inputs security code
- Add PayPal donation button
- Remove outdated localization files
- Update the text domain to match slug for translate.wordpress.org
- Add option to keep active theme, thanks to Ulrich Pogson
- Adhere to WordPress PHP coding syntax standards
- Delete the user session and recreate it
- Separate the backup_tables method into two new methods
- Reset only WP tables and not custom tables
- French language updates, thanks to Fx Benard
- Fix for undefined variable: backup_tables
- Fixed bug where reactivate plugins div was not displaying on ‘options’ table select
- Removed deprecated function $wpdb->escape(), replaced with esc_sql()
- Add German translation, thanks to Ulrich Pogson
- Updated screenshot-1.png
- Renamed default localization file
- Fixed broken if conditional during code clean up for version 2.2
- Fixed scripts and styles to only load on plugin page
- Formatted code to meet WordPress syntax standards
- Replaced 3.3 deprecated get_userdatabylogin() with get_user_by()
- Updated deprecated add_contextual_help() with add_help_tab()
- Small change in condition check for backup tables
- Removed custom _rand_string() with core wp_generate_password()
- Added Portuguese translation – thanks to Fernando Lopes
- Added functionality to be able to select which tables you want to reset, rather than having to reset the entire database.
- Added bsmSelect for the multiple select.
- Modified screenshot-1.png.
- Fixed redirect bug
- ‘Reactivate current plugins after reset’ only shows if the options table is selected from the dropdown.
- Made quite a few changes to the translation files
- Renamed french translation file for plugin format, not theme format
- Optimized (until potential version 2.0)
- Replaced reactivation option for all currently active plugins (not just this plugin)
- Updated language files
- Added capability to manually select whether or not plugin should be reactivated upon reset
- Modified class name to avoid potential conflicts with WordPress core
- Modified wp_mail override
- Removed deprecated user level for WordPress 3.0+
- Fixed small bug where if admin user did not have admin capabilities, it would tell the user they did
- First version