| 1 |
<?php |
| 2 |
/** |
| 3 |
* OpenStation — Recycle Bin module bootstrap. |
| 4 |
* |
| 5 |
* The bin stamps who-deleted-what-when metadata on posts, pages, |
| 6 |
* attachments, and comments as they pass through the WordPress trash |
| 7 |
* (attachments only reach trash when `MEDIA_TRASH` is enabled) and |
| 8 |
* exposes a desktop window with a `<os-table>`-backed UI for |
| 9 |
* browsing, sorting, restoring, and permanently deleting them. |
| 10 |
* |
| 11 |
* Public PHP surface (all filterable, all action-emitting): |
| 12 |
* |
| 13 |
* - `openstation_recycle_bin_capture_post_types` |
| 14 |
* - `openstation_recycle_bin_query_args` |
| 15 |
* - `openstation_recycle_bin_items` / `openstation_recycle_bin_item` |
| 16 |
* - `openstation_recycle_bin_user_can_view|restore|purge|use` |
| 17 |
* - actions: `..._item_captured`, `..._before/after_restore`, |
| 18 |
* `..._before/after_purge`, `..._emptied` |
| 19 |
* |
| 20 |
* @package OpenStation |
| 21 |
*/ |
| 22 |
|
| 23 |
defined( 'ABSPATH' ) || exit; |
| 24 |
|
| 25 |
require_once __DIR__ . '/capture.php'; |
| 26 |
require_once __DIR__ . '/store.php'; |
| 27 |
require_once __DIR__ . '/rest.php'; |
| 28 |
require_once __DIR__ . '/window.php'; |
| 29 |
require_once __DIR__ . '/realtime.php'; |
| 30 |
|