| 开发者 | trucetech |
|---|---|
| 更新时间 | 2026年7月3日 03:46 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
TRUCEPURGE_ / trucepurge_ prefix — no global functions, no shared option keys, no wp_ajax_nopriv hooks.trucepurge_content_types — add or change the content types shown.trucepurge_capability — change which capability may use the tool (default delete_posts).trucepurge_after_delete — fires after each batch: do_action( 'trucepurge_after_delete', $ids, $user_id, $deleted, $mode ).trucepurge.zip and click Install Now, then Activate.wp-content/plugins/ and activate from the Plugins screen.No. A permanent delete is a force delete that bypasses the Trash, which is why the typed DELETE confirmation exists. If you want a safety net, choose "Move to Trash" in the confirmation step, or export a CSV first. Make a backup before large cleanups.
"Move to Trash" sets items to the Trash so they can be restored later. "Delete permanently" removes them for good and cannot be undone. Trash is unavailable if your site has it switched off (EMPTY_TRASH_DAYS set to 0); in that case only permanent deletion is offered.
Any user with the delete_posts capability can open it, but they can only remove items WordPress already permits them to remove (checked per item). Raise the bar with the trucepurge_capability filter, e.g. require manage_options.
Yes. Removing attachments (Images/Videos) deletes their files from disk. When removing Posts/Pages you can also tick "Also remove media attached to these items".
The whole selection is sent in a single request and the handler lifts its own time limit (and keeps running even if the browser disconnects), so large jobs complete in one pass with a progress bar. There is no cap on how many items are removed at once.
No. It loads nothing on the front end and only loads its assets on its own admin screen.