` and core's `/wp/v2/pages` REST * endpoint, behind a per-user opt-in (`OsSettingsState.nativePagesEnabled`, * surfaced as the "Use the native Pages window" toggle in OS Settings → * Features). * * Public PHP surface (all filterable): * * - openstation_pages_window_user_can_register * - openstation_pages_window_user_can_use * - openstation_pages_window_args * - openstation_pages_window_template_html * - openstation_pages_window_query_args * * The URL-remap swap (Pages tile → native window when opt-in is on) is * implemented JS-side in `src/desktop.ts` via `registerNativeUrlRemap`. * * @package OpenStation */ defined( 'ABSPATH' ) || exit; require_once __DIR__ . '/permissions.php'; require_once __DIR__ . '/window.php';