Title: Last Switch
Author: Kuramoto Daisuke
Published: <strong>2026-يىلى 27-نويابىر</strong>
Last modified: 2026-يىلى 27-نويابىر

---

قىستۇرما ئىزدە

![](https://ps.w.org/last-switch/assets/banner-772x250.png?rev=3829677)

![](https://ps.w.org/last-switch/assets/icon-256x256.png?rev=3829677)

# Last Switch

 يازغۇچى [Kuramoto Daisuke](https://profiles.wordpress.org/kuramotodaisuke/)

[چۈشۈر](https://downloads.wordpress.org/plugin/last-switch.1.0.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/last-switch/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/last-switch/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/last-switch/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/last-switch/#developers)

 [قوللاش](https://wordpress.org/support/plugin/last-switch/)

## چۈشەندۈرۈش

Every life inevitably comes to an end—and sometimes it arrives unexpectedly. Prepare
your website and digital legacy for that day while you still can.

**Last Switch** is a digital legacy and privacy switch for WordPress blogs, personal
journals, and private archives.

While you are active, your site runs in **Public Mode** by default (normal website),
or you can switch it to **Private Mode** (locked with `200`, `403`, or `404` status
and REST API protection). If an administrator does not log in for a configured number
of days (default: 10 days), the switch triggers automatically.

#### Key Features

 * **Two Active Modes (While You Are Active):**
    1. **Public Mode (Default):** Your site operates normally and is visible to everyone.
    2. **Private Mode:** Blocks all unauthenticated visitors and `/wp-json/` REST API
       requests with a `200`, `403`, or `404` status and a customizable HTML screen.
 * **Block Editor Testament Page:** Select any WordPress Page (including Private
   or Draft pages) designed with the Block Editor (Gutenberg) to serve as your final
   message or testament.
 * **Two Post-Inactivity Behaviors:**
    1. **Show Testament + Passcode Unlock Screen:** Displays your testament full-screen
       along with a floating passcode bar. Trusted contacts with the passcode can unlock
       and read the entire site.
    2. **Show Testament Only:** Displays only your testament page full-screen while
       keeping the rest of your site and REST API locked.
 * **Automated Email Notification:** Optionally sends a custom notification email
   to one or more trusted recipients as soon as the inactivity period expires.

## ئېكران كەسمىسى

[⌊How the Last Switch behaves: Active state vs. Inactivity state.⌉⌊How the Last 
Switch behaves: Active state vs. Inactivity state.⌉[

How the Last Switch behaves: Active state vs. Inactivity state.

## ئورنىتىش

 1. Upload the `last-switch` folder to the `/wp-content/plugins/` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ›Plugins‹ screen in WordPress.
 3. Create a Page in **Pages > Add New** using the Block Editor for your testament (
    keep its visibility set to **Private** or **Draft** so it stays hidden while you
    are active).
 4. Go to **Settings > Last Switch** to configure your active mode, inactivity days,
    testament page, post-inactivity action, unlock passcode, and optional email notification.

## FAQ

### How does the timer reset?

Every time an administrator (`manage_options` capability) logs in or visits the 
site while logged in, the last activity timestamp and email notification flag are
automatically reset.

### How should I set the visibility of my Testament Page?

Set your testament Page to **Private** or **Draft** in WordPress. This ensures nobody
can access it via URL while you are active. Once the inactivity period expires, 
the plugin renders its Block Editor content automatically on the switch screen.

### How can I test the switch without waiting 10 days?

Go to **Settings > Last Switch**, set **Inactivity Period (Days)** to `0`, and save
changes. Open an incognito/private browser window to preview your testament and 
passcode screen, then set the days back to `10`. You can also use the **Send Test
Email** button on the settings page to verify email delivery immediately.

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Last Switch» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Kuramoto Daisuke ](https://profiles.wordpress.org/kuramotodaisuke/)

[«Last Switch» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/last-switch)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/last-switch/)، [SVN خەزىنە](https://plugins.svn.wordpress.org/last-switch/)
تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/last-switch/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/last-switch/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **2 سائەت بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10 دىن ئاز**
 *  WordPress نەشرى ** 6.0 ياكى يۇقىرى **
 *  **7.1.5** دا سىنالغان
 *  PHP نەشرى ** 7.4 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/last-switch/)
 * بەلگە
 * [dead man’s switch](https://ug.wordpress.org/plugins/tags/dead-mans-switch/)[maintenance](https://ug.wordpress.org/plugins/tags/maintenance/)
   [privacy](https://ug.wordpress.org/plugins/tags/privacy/)[private](https://ug.wordpress.org/plugins/tags/private/)
   [security](https://ug.wordpress.org/plugins/tags/security/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/last-switch/advanced/)

## دەرىجە

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/last-switch/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/last-switch/reviews/)

## تۆھپىكار

 *   [ Kuramoto Daisuke ](https://profiles.wordpress.org/kuramotodaisuke/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/last-switch/)