Skip to main content
Reset Tools is a content deletion utility for development and testing environments. It lets you bulk-delete selected content types while preserving plugin settings, administrator accounts, and site configuration.
Reset Tools is for development environments only. All deletions are permanent and cannot be undone. Back up your database before proceeding.

Content types

Five content types can be reset independently:
TypeWhat is deleted
PostsAll posts and their post meta
PagesAll pages and their post meta
CommentsAll comments and comment meta
MediaAll media attachments and their physical files from disk
Non-Admin UsersAll users except those with the Administrator role

Live count preview

When the Reset Tools page loads, it fetches the current count for each content type from the WordPress database. The count is shown as a badge next to each content type label, so you can see exactly how many items will be deleted before selecting anything.

Resetting content

1

Select content types

Check the boxes next to each content type you want to delete. Selected cards are highlighted with a red border. Each card shows the item count that will be deleted.
2

Tick the confirmation checkbox

Check the I understand this is irreversible checkbox. This confirms you want to permanently delete the selected content.
3

Click Execute Reset

Click Execute Reset. The button shows how many types are selected, e.g. Execute Reset (2 selected).
4

Confirm in the dialog

A second confirmation dialog lists each selected content type and its item count, and states that the deletion cannot be undone. Click Yes, Delete Everything to proceed.
5

Review the result

A success toast confirms the operation with a summary, e.g. Reset complete: deleted 45 posts, 12 pages. The count badges on each card update to reflect the new totals.

What is preserved

Reset Tools only deletes the content you explicitly select. The following are never affected:
  • Plugin settings and configuration stored in wp_options
  • Administrator user accounts
  • Active theme settings and customizer data
  • Database tables created by other plugins
  • The WordPress installation itself

How deletions work

All deletions use WordPress core functions:
  • Posts, pages, and media: wp_delete_post() with force_delete = true
  • Comments: wp_delete_comment()
  • Users: wp_delete_user()
Using core functions ensures that associated data (post meta, comment meta, user meta, uploaded files) is cleaned up correctly.
Because Reset Tools uses core WordPress deletion functions rather than raw SQL, the operation is slower than a direct TRUNCATE TABLE but leaves the database in a consistent state.

Build docs developers (and LLMs) love