{"id":413667,"date":"2026-11-27T13:44:52","date_gmt":"2026-11-27T13:44:52","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/dead-mans-switch\/"},"modified":"2026-11-27T13:44:15","modified_gmt":"2026-11-27T13:44:15","slug":"last-switch","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/last-switch\/","author":23609903,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Last Switch","header_author":"Daisuke Kuramoto","header_description":"A digital legacy and privacy switch. Keeps your site public or private while active, and displays a Gutenberg-designed testament page (with optional passcode unlock) after prolonged admin inactivity.","last_updated":"2026-11-27 13:44:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/last-switch\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":24,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"kuramotodaisuke","date":"2026-11-27 13:44:15","revision":3829677}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3829677,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3829677,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3829677,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3829677,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3829677,"resolution":"1","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"How the Last Switch behaves: Active state vs. Inactivity state."}},"plugin_section":[],"plugin_tags":[74327,732,396,870,600],"plugin_category":[52,54,58],"plugin_contributors":[294739],"plugin_business_model":[],"class_list":["post-413667","plugin","type-plugin","status-publish","hentry","plugin_tags-dead-mans-switch","plugin_tags-maintenance","plugin_tags-privacy","plugin_tags-private","plugin_tags-security","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_category-user-management","plugin_contributors-kuramotodaisuke","plugin_committers-kuramotodaisuke"],"banners":{"banner":"https:\/\/ps.w.org\/last-switch\/assets\/banner-772x250.png?rev=3829677","banner_2x":"https:\/\/ps.w.org\/last-switch\/assets\/banner-1544x500.png?rev=3829677","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/last-switch\/assets\/icon-128x128.png?rev=3829677","icon_2x":"https:\/\/ps.w.org\/last-switch\/assets\/icon-256x256.png?rev=3829677","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/last-switch\/assets\/screenshot-1.png?rev=3829677","caption":"How the Last Switch behaves: Active state vs. Inactivity state."}],"raw_content":"<!--section=description-->\n<p>Every life inevitably comes to an end\u2014and sometimes it arrives unexpectedly. Prepare your website and digital legacy for that day while you still can.<\/p>\n\n<p><strong>Last Switch<\/strong> is a digital legacy and privacy switch for WordPress blogs, personal journals, and private archives.<\/p>\n\n<p>While you are active, your site runs in <strong>Public Mode<\/strong> by default (normal website), or you can switch it to <strong>Private Mode<\/strong> (locked with <code>200<\/code>, <code>403<\/code>, or <code>404<\/code> 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.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Two Active Modes (While You Are Active):<\/strong>\n\n<ol>\n<li><strong>Public Mode (Default):<\/strong> Your site operates normally and is visible to everyone.<\/li>\n<li><strong>Private Mode:<\/strong> Blocks all unauthenticated visitors and <code>\/wp-json\/<\/code> REST API requests with a <code>200<\/code>, <code>403<\/code>, or <code>404<\/code> status and a customizable HTML screen.<\/li>\n<\/ol><\/li>\n<li><strong>Block Editor Testament Page:<\/strong> Select any WordPress Page (including Private or Draft pages) designed with the Block Editor (Gutenberg) to serve as your final message or testament.<\/li>\n<li><strong>Two Post-Inactivity Behaviors:<\/strong>\n\n<ol>\n<li><strong>Show Testament + Passcode Unlock Screen:<\/strong> Displays your testament full-screen along with a floating passcode bar. Trusted contacts with the passcode can unlock and read the entire site.<\/li>\n<li><strong>Show Testament Only:<\/strong> Displays only your testament page full-screen while keeping the rest of your site and REST API locked.<\/li>\n<\/ol><\/li>\n<li><strong>Automated Email Notification:<\/strong> Optionally sends a custom notification email to one or more trusted recipients as soon as the inactivity period expires.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>last-switch<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Create a Page in <strong>Pages &gt; Add New<\/strong> using the Block Editor for your testament (keep its visibility set to <strong>Private<\/strong> or <strong>Draft<\/strong> so it stays hidden while you are active).<\/li>\n<li>Go to <strong>Settings &gt; Last Switch<\/strong> to configure your active mode, inactivity days, testament page, post-inactivity action, unlock passcode, and optional email notification.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20the%20timer%20reset%3F\"><h3>How does the timer reset?<\/h3><\/dt>\n<dd><p>Every time an administrator (<code>manage_options<\/code> capability) logs in or visits the site while logged in, the last activity timestamp and email notification flag are automatically reset.<\/p><\/dd>\n<dt id=\"how%20should%20i%20set%20the%20visibility%20of%20my%20testament%20page%3F\"><h3>How should I set the visibility of my Testament Page?<\/h3><\/dt>\n<dd><p>Set your testament Page to <strong>Private<\/strong> or <strong>Draft<\/strong> 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.<\/p><\/dd>\n<dt id=\"how%20can%20i%20test%20the%20switch%20without%20waiting%2010%20days%3F\"><h3>How can I test the switch without waiting 10 days?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings &gt; Last Switch<\/strong>, set <strong>Inactivity Period (Days)<\/strong> to <code>0<\/code>, and save changes. Open an incognito\/private browser window to preview your testament and passcode screen, then set the days back to <code>10<\/code>. You can also use the <strong>Send Test Email<\/strong> button on the settings page to verify email delivery immediately.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A digital legacy switch for WordPress. Displays a Gutenberg testament page with optional passcode unlock after prolonged admin inactivity.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/413667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=413667"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kuramotodaisuke"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=413667"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=413667"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=413667"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=413667"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=413667"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=413667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}