| 1 |
<?php |
| 2 |
/** |
| 3 |
* Desktop Mode — Recycle Bin module bootstrap. |
| 4 |
* |
| 5 |
* The bin captures attachments into the WordPress trash (posts and |
| 6 |
* pages already trash by default) and exposes a desktop window with |
| 7 |
* a `<wpd-table>`-backed UI for browsing, sorting, restoring, and |
| 8 |
* permanently deleting them. |
| 9 |
* |
| 10 |
* Public PHP surface (all filterable, all action-emitting): |
| 11 |
* |
| 12 |
* - `desktop_mode_recycle_bin_capture_post_types` |
| 13 |
* - `desktop_mode_recycle_bin_should_capture` |
| 14 |
* - `desktop_mode_recycle_bin_query_args` |
| 15 |
* - `desktop_mode_recycle_bin_items` / `desktop_mode_recycle_bin_item` |
| 16 |
* - `desktop_mode_recycle_bin_user_can_view|restore|purge|use` |
| 17 |
* - `desktop_mode_recycle_bin_window_args` / `..._icon_args` |
| 18 |
* - `desktop_mode_recycle_bin_template_html` |
| 19 |
* - actions: `..._item_captured`, `..._before/after_restore`, |
| 20 |
* `..._before/after_purge`, `..._emptied` |
| 21 |
* |
| 22 |
* @package WPDesktopMode |
| 23 |
* @since 0.19.0 |
| 24 |
*/ |
| 25 |
|
| 26 |
defined( 'ABSPATH' ) || exit; |
| 27 |
|
| 28 |
require_once __DIR__ . '/capture.php'; |
| 29 |
require_once __DIR__ . '/store.php'; |
| 30 |
require_once __DIR__ . '/rest.php'; |
| 31 |
require_once __DIR__ . '/window.php'; |
| 32 |
require_once __DIR__ . '/realtime.php'; |
| 33 |
|