| 开发者 | aryanjasala |
|---|---|
| 更新时间 | 2026年11月9日 17:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp axle-category-tag-trash listwp axle-category-tag-trash restore <id>...wp axle-category-tag-trash delete <id>... or wp axle-category-tag-trash delete --allThe restored term gets a unique slug instead, and Axle Category & Tag Trash tells you which one.
It is skipped. Everything else is restored.
Only posts that still have exactly the default category plus the restored term lose the default category. Posts you changed by hand are left alone, and so are child terms you moved somewhere else.
30 days by default, then a daily task deletes them for good. Choose 7, 30, 90 or 365 days on the Axle Category & Tag Trash screen, or use the axle_category_tag_trash_retention_days filter.
Use the axle_category_tag_trash_supports_taxonomy filter. Menus are never kept, because deleting a menu removes its items first.
Yes. The posts are saved in small chunks, so the trash stays light. A restore brings back the first 5,000 posts right away and the rest in the background, and wp axle-category-tag-trash restore <id> does it all in one go. Search plugins like ElasticPress are told about every post that gets its term back.