跳到内容

Axle Category & Tag Trash

v3.0.0

Aryan Jasala · 2026年11月9日 上架

A trash for categories, tags and custom terms. Deleted a category by mistake? Restore it with its posts, child terms and menu links.

正在使用
10 以下
评分
暂无
累计下载
202
最近更新
2026年11月9日
需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

Undo right after deleting a category.
Undo right after deleting a category.
Tools > Axle Category & Tag Trash.
Tools > Axle Category & Tag Trash.
What a restore brings back.
What a restore brings back.

Posts and pages go to the trash when you delete them. Categories and tags don’t: one click on “Delete” and the term is gone. WordPress also moves its posts to “Uncategorized”, moves its child categories up a level and removes it from your menus. Getting it back means restoring a database backup.

Axle Category & Tag Trash keeps every deleted term for 30 days (or 7, 90 or 365, your choice).

Undo appears the moment you delete a term, on the Categories, Tags or any other term screen, for single and bulk deletes. Restore later from Tools > Axle Category & Tag Trash puts back:

  • the term itself, with the same ID, name, slug, description and parent,
  • all of its term meta (colours, images, SEO fields stored by other plugins),
  • every post it was assigned to, in the same order,
  • its child terms, moved back underneath it,
  • the menu links that pointed to it, in the same menu and position, with their sub-items,
  • and it removes “Uncategorized” from posts that only got it because of the deletion.

Keeping the same ID matters: navigation blocks, widgets and shortcodes that point to the term by ID work again without editing them.

Works with categories, tags, WooCommerce product categories and attributes, and any custom taxonomy that has an admin screen.

Free and open source under the GPL. No pro version, no upsells, no ads in wp-admin, no tracking. And it stays that way.

Where to find it

  • Tools > Axle Category & Tag Trash lists deleted terms with what they were attached to, who deleted them and when. Filter by taxonomy, search, restore or delete in bulk, see exactly which posts, child terms and menus a restore brings back, and empty the trash.
  • Every category and tag screen has a link to it under the list.

WP-CLI

  • wp axle-category-tag-trash list
  • wp axle-category-tag-trash restore <id>...
  • wp axle-category-tag-trash delete <id>... or wp axle-category-tag-trash delete --all

Try it before you install. try.axlewp.com/axle-category-tag-trash opens a private WordPress in your browser with this plugin and some demo content.

Part of Axle by AryanX, a family of free plugins for running WordPress sites safely.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums