# desktop-mode/1.1.6/includes/recycle-bin/bootstrap.php

OpenStation: Desktop Windows, Dock &amp; Virtual Desktops for WP Admin, version 1.1.6. 30 lines.

- Page: https://pluginprobe.com/plugins/desktop-mode/1.1.6/code/includes/recycle-bin/bootstrap.php
- Raw: https://pluginprobe.com/plugins/desktop-mode/1.1.6/raw/includes/recycle-bin/bootstrap.php
- Modified: 2026-09-04T15:30:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/desktop-mode/1.1.6/code/includes/recycle-bin/bootstrap.php#L10-L20`.

```php
<?php
/**
 * OpenStation — Recycle Bin module bootstrap.
 *
 * The bin stamps who-deleted-what-when metadata on posts, pages,
 * attachments, and comments as they pass through the WordPress trash
 * (attachments only reach trash when `MEDIA_TRASH` is enabled) and
 * exposes a desktop window with a `<os-table>`-backed UI for
 * browsing, sorting, restoring, and permanently deleting them.
 *
 * Public PHP surface (all filterable, all action-emitting):
 *
 *   - `openstation_recycle_bin_capture_post_types`
 *   - `openstation_recycle_bin_query_args`
 *   - `openstation_recycle_bin_items` / `openstation_recycle_bin_item`
 *   - `openstation_recycle_bin_user_can_view|restore|purge|use`
 *   - actions: `..._item_captured`, `..._before/after_restore`,
 *              `..._before/after_purge`, `..._emptied`
 *
 * @package OpenStation
 */

defined( 'ABSPATH' ) || exit;

require_once __DIR__ . '/capture.php';
require_once __DIR__ . '/store.php';
require_once __DIR__ . '/rest.php';
require_once __DIR__ . '/window.php';
require_once __DIR__ . '/realtime.php';

```
