Every long-running site collects posts that have outlived their point: expired announcements, old event listings, a test post from launch week. Clearing them out by hand is slow and nerve-racking, because bulk actions in the admin are one wrong checkbox away from taking down something you meant to keep, and there is no dry run.
This gives you the dry run. It lists and counts, it waits, and it moves things to a Trash you can undo.
I want to clear out old [posts] and I want to be careful about it. First,read only: list the [posts] that match [published before 2023, in the"News" category] and count them yourself, since the count tool only counts bystatus, then show me that number with the titles, dates, and links. Change nothing yet.
I will look at the list and tell you which ones to remove, or confirm thewhole set. Only after I say so, move them to the Trash in small batches,pausing after each batch, so nothing leaves the Trash and I can restore anyof them from WordPress. Do not permanently delete anything. When you aredone, list every post you trashed with its old link.Why this is safe to run
The whole first pass is reads. Listing the matches changes nothing, and the agent counts them from that list, so you see the number and then the actual titles and links before a single post moves. Nothing is trashed until you confirm the set.
The write half only moves posts to the Trash, which is recoverable: a trashed post sits in WordPress until you empty it, so a mistake is a restore, not a loss. Each trash call is also recorded in the Changes tab, which can bring a post back if nobody has edited it in the meantime. The permanent-delete ability, the one that bypasses the Trash, is a different ability with its own switch, and this recipe deliberately leaves it alone. The content write ability stays off until you enable it, every trash call is checked against the bound user’s capability, batching keeps you in the loop as it goes, and every move is written to the Activity Log with the post it affected.
Already connected? Skip the paste. Ask your agent for the “bulk-delete old posts” recipe, describe the set you want gone, and it runs the same list-confirm-trash flow on your own install.