{"id":7641,"date":"2026-10-30T06:42:08","date_gmt":"2026-10-30T10:42:08","guid":{"rendered":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/"},"modified":"2026-10-30T07:04:51","modified_gmt":"2026-10-30T11:04:51","slug":"remote-only-mode","status":"publish","type":"wpcode_doc","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/","title":{"rendered":"Using Remote-Only Mode"},"content":{"rendered":"<p>Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey?<\/p>\n<p>In this guide, we&#8217;ll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library.<\/p>\n<div class=\"alert alert-warning\">\n<p><strong>Requirements<\/strong>: Remote-only mode is available in the paid versions of WPCode, version 2.4.1 or later. Your site must be connected to the WPCode Library with deploys approved by a passkey.<\/p>\n<\/div>\n<ul class=\"toc\">\n<li><a href=\"#how-remote-only-mode-works\">How Remote-Only Mode Works<\/a><\/li>\n<li><a href=\"#preparing-your-library-connection\">Preparing Your Library Connection<\/a><\/li>\n<li><a href=\"#turning-on-remote-only-mode\">Turning On Remote-Only Mode<\/a><\/li>\n<li><a href=\"#deploying-snippet-changes-from-the-library\">Deploying Snippet Changes from the Library<\/a>\n<ul>\n<li><a href=\"#when-a-deployed-snippet-cant-be-activated\">When a Deployed Snippet Can&#8217;t Be Activated<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#turning-off-remote-only-mode\">Turning Off Remote-Only Mode<\/a><\/li>\n<li><a href=\"#frequently-asked-questions\">Frequently Asked Questions<\/a><\/li>\n<\/ul>\n<p>Before you get started, make sure WPCode is <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-install-the-wpcode-plugin\/\" target=\"_blank\" rel=\"noopener\">installed and activated<\/a> on your WordPress site.<\/p>\n<h2 id=\"how-remote-only-mode-works\">How Remote-Only Mode Works<\/h2>\n<p>Code snippets can run any code on your site. Normally, anyone who signs in as an administrator can change them. Remote-only mode removes that option. Every snippet on your site becomes read-only in the WordPress admin, for every user.<\/p>\n<p>Your snippets keep running as usual. To change them, you deploy from your WPCode Library account. Each deploy has to be approved with a passkey on your device. Someone who gets into your WordPress admin still can&#8217;t change your snippets.<\/p>\n<p>The mode is switched on in <code>{WPCONFIG}<\/code> rather than in the WPCode settings. That way, nobody can turn it off from the admin.<\/p>\n<h2 id=\"preparing-your-library-connection\">Preparing Your Library Connection<\/h2>\n<p>To get started, we&#8217;ll get your site&#8217;s library connection ready for remote-only mode.<\/p>\n<p>Remote-only mode only accepts deploys approved with a passkey. Before you turn it on, set up your connection:<\/p>\n<ol>\n<li>Add a passkey to your WPCode Library account.<\/li>\n<li>Connect your site to the WPCode Library, with deploys enabled, while you&#8217;re signed in to that account.<\/li>\n<\/ol>\n<p>Our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/deploy-from-library-missing-permissions\/\" target=\"_blank\" rel=\"noopener\">enabling deploys from the library<\/a> walks through both steps. If your site was connected before you added a passkey, reconnect it so the passkey can approve deploys there.<\/p>\n<div class=\"alert alert-info\">\n<p><strong>Note:<\/strong> Set up the connection first. Once remote-only mode is on, WPCode won&#8217;t let anyone reconnect or disconnect the site from the library in the admin.<\/p>\n<\/div>\n<h2 id=\"turning-on-remote-only-mode\">Turning On Remote-Only Mode<\/h2>\n<p>Remote-only mode is set in your site&#8217;s <code>wp-config.php<\/code> file. If you haven&#8217;t edited this file before, see <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/www.wpbeginner.com\/beginners-guide\/how-to-edit-wp-config-php-file-in-wordpress\/\" target=\"_blank\" rel=\"nofollow noopener\">How to Edit wp-config.php File in WordPress<\/a>.<\/p>\n<p>To turn it on, add this line above the line that says <code>\/* That's all, stop editing! *\/<\/code>:<\/p>\n<p><code>define( 'WPCODE_REMOTE_ONLY', true );<\/code><\/p>\n<p>Once you&#8217;ve added the line, save the file. To check that the mode is on, go to <strong>Code Snippets \u00bb Code Snippets<\/strong> in your WordPress admin sidebar. A notice at the top says your snippets are managed remotely from the WPCode Library.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_01_navigate_snippets.webp\" alt=\"The Code Snippets list opened from the Code Snippets menu in the WordPress admin sidebar, with a notice saying snippets on this site are managed remotely from the WPCode Library and are read-only here\" \/><\/p>\n<p>You can still open any snippet to see its code and settings. Saving changes isn&#8217;t possible, though. The Update button stays disabled. The same notice appears at the top of the editor.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_02_editor_read_only.webp\" alt=\"The Edit Snippet screen for Candle Care Notice with the remote-only notice at the top and the Update button disabled\" \/><\/p>\n<p>Adding, activating, deactivating, and deleting snippets are all refused in the admin too. The Testing Mode toggle is hidden because Testing Mode changes snippet code locally.<\/p>\n<h2 id=\"deploying-snippet-changes-from-the-library\">Deploying Snippet Changes from the Library<\/h2>\n<p>To change a snippet, edit it in your WPCode Library account and deploy it to your site.<\/p>\n<p>First, sign in to the WPCode Library and go to <strong>My Snippets<\/strong>. Next, click the title of the snippet you want to deploy.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_02b_my_snippets_list.webp\" alt=\"The My Snippets list in the WPCode Library, with an arrow pointing at the Free Shipping Notice snippet title\" \/><\/p>\n<p>The snippet opens in the library editor. At the top of the editor, click <strong>Deploy<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_03_library_deploy_button.webp\" alt=\"The top of the WPCode Library snippet editor, with an arrow pointing at the Deploy button next to Update\" \/><\/p>\n<p>In the Deploy snippet to your site window, check the box next to your site. Your site shows as Passkey protected. When you&#8217;re ready, click <strong>Review &amp; deploy<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_04_pick_site.webp\" alt=\"The Deploy snippet to your site window with the Alex's Candle Co. site ticked and marked Passkey protected, and an arrow pointing at the Review and deploy button\" \/><\/p>\n<p>The review step shows the snippet and each site you picked. The <strong>Active<\/strong> switch beside each site decides whether the snippet runs there after the deploy. It&#8217;s on by default:<\/p>\n<ul>\n<li><strong>On<\/strong> deploys the code and activates the snippet.<\/li>\n<li><strong>Off<\/strong> deploys the code and leaves the snippet inactive.<\/li>\n<\/ul>\n<p>Turn the switch off when you want the new code on your site without running it yet. If you&#8217;re not sure, leave it on.<\/p>\n<p>When you&#8217;ve checked the details, click <strong>Authorize with your passkey<\/strong>. Your browser or device then asks you to confirm with your passkey.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_05_authorize_passkey.webp\" alt=\"The review step of the deploy window for Free Shipping Notice, with the Active switch on for Alex's Candle Co. and an arrow pointing at the Authorize with your passkey button\" \/><\/p>\n<div class=\"alert alert-info\">\n<p><strong>Note:<\/strong> The approval expires after two minutes. If it runs out before you confirm, nothing is deployed. The window then lets you try again with a new approval.<\/p>\n<\/div>\n<p>Once your site has accepted the code, the window shows Deployed beside it and confirms how many sites were updated.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_06_deployed.webp\" alt=\"The deploy window showing Deployed beside Alex's Candle Co. and a confirmation that the snippet was deployed to 1 site\" \/><\/p>\n<p>On your site, the snippet appears in your Code Snippets list with the status you chose.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_07_site_snippet_active.webp\" alt=\"The Code Snippets list under the remote-only notice, showing the deployed Free Shipping Notice snippet with its status toggle switched on\" \/><\/p>\n<h3 id=\"when-a-deployed-snippet-cant-be-activated\">When a Deployed Snippet Can&#8217;t Be Activated<\/h3>\n<p>Before activating a deployed PHP or Universal snippet, your site runs its code once to check it. If that check fails, the code is still saved on your site. The snippet stays inactive so the error can&#8217;t affect your visitors.<\/p>\n<p>The deploy window shows Deployed, not activated beside that site, along with the reason.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"display: block; margin: 1.5rem auto;\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-remote-only-mode-step_08_deployed_not_activated.webp\" alt=\"The deploy window for Gift Wrap Fee showing Deployed, not activated beside Alex's Candle Co., with a message saying the snippet could not be activated because running its code caused an error\" \/><\/p>\n<p>To activate it, fix the snippet in your library and deploy it again with the <strong>Active<\/strong> switch on. Once its code runs without an error, your site activates the snippet.<\/p>\n<h2 id=\"turning-off-remote-only-mode\">Turning Off Remote-Only Mode<\/h2>\n<p>To manage snippets in the admin again, remove the <code>WPCODE_REMOTE_ONLY<\/code> line from <code>{WPCONFIG}<\/code>. The change takes effect on the next page load. Your snippets stay as they are.<\/p>\n<p>You&#8217;ll also need to remove the line before you reconnect or disconnect your site from the WPCode Library. You can add it back afterward.<\/p>\n<p>That&#8217;s it! You now know how to lock your site&#8217;s snippets so they only change through passkey-approved deploys. Next, take a look at our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/deploy-from-library-missing-permissions\/\" target=\"_blank\" rel=\"noopener\">enabling deploys from the library<\/a> to add more passkeys or connect more sites.<\/p>\n<h2 id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<p>Below, we&#8217;ve answered some of the most common questions about remote-only mode.<\/p>\n<h3 id=\"what-if-my-site-has-an-older-connection\">What if my site was connected before I added a passkey?<\/h3>\n<p>Deploys to that site are refused while remote-only mode is on. Older connections don&#8217;t use a passkey to approve deploys. The notice on your Code Snippets list asks you to reconnect.<\/p>\n<p>To fix this, remove the <code>WPCODE_REMOTE_ONLY<\/code> line. Next, reconnect the site with deploys enabled while you&#8217;re signed in to your library account. Then add the line back.<\/p>\n<h3 id=\"can-i-still-see-my-snippets\">Can I still see my snippets and settings in the admin?<\/h3>\n<p>Yes. Every WPCode page stays open, and every snippet keeps showing in your Code Snippets list. You can review any snippet&#8217;s code and settings. Saving changes to snippets is what&#8217;s blocked.<\/p>\n<h3 id=\"what-about-files-mode\">What if I also manage snippets from files?<\/h3>\n<p>Files mode takes priority. If both <code>WPCODE_REMOTE_ONLY<\/code> and <code>WPCODE_SNIPPETS_FROM_FILES<\/code> are set, your snippets are managed from files. A notice in your Code Snippets list says remote-only mode is off.<\/p>\n<p>See our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/manage-snippets-from-files\/\" target=\"_blank\" rel=\"noopener\">managing snippets from files<\/a> for details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we&#8217;ll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the [&hellip;]<\/p>\n","protected":false},"author":16,"template":"","class_list":["post-7641","wpcode_doc","type-wpcode_doc","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we&#039;ll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Marko Miljanovic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"WPCode - The Best WordPress Code Snippets Plugin\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Using Remote-Only Mode - WPCode\" \/>\n\t\t<meta property=\"og:description\" content=\"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we&#039;ll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-30T10:42:08+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-30T11:04:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Using Remote-Only Mode - WPCode\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we&#039;ll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Marko Miljanovic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpcode.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#listItem\",\"name\":\"Using Remote-Only Mode\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#listItem\",\"position\":3,\"name\":\"Using Remote-Only Mode\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/wpcode.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-wpcode.svg?wsr\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/#author\",\"url\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/\",\"name\":\"Marko Miljanovic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c59fa4143d72f365a2d2b98503a1e21e6bf9f6921d21ac9796d88c5c2dfeb30?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Marko Miljanovic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#webpage\",\"url\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/\",\"name\":\"Using Remote-Only Mode - WPCode\",\"description\":\"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we'll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/remote-only-mode\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/#author\"},\"datePublished\":\"2026-10-30T06:42:08-04:00\",\"dateModified\":\"2026-10-30T07:04:51-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Using Remote-Only Mode - WPCode<\/title>\n\n","aioseo_head_json":{"title":"Using Remote-Only Mode - WPCode","description":"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we'll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the","canonical_url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#listItem","position":1,"name":"Home","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","name":"Docs"}},{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","position":2,"name":"Docs","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#listItem","name":"Using Remote-Only Mode"},"previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#listItem","position":3,"name":"Using Remote-Only Mode","previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","name":"Docs"}}]},{"@type":"Organization","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#organization","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","logo":{"@type":"ImageObject","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2022\/11\/logo-wpcode.svg?wsr","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#organizationLogo"},"image":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/marko\/#author","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/marko\/","name":"Marko Miljanovic","image":{"@type":"ImageObject","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#authorImage","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/secure.gravatar.com\/avatar\/0c59fa4143d72f365a2d2b98503a1e21e6bf9f6921d21ac9796d88c5c2dfeb30?s=96&d=mm&r=g","width":96,"height":96,"caption":"Marko Miljanovic"}},{"@type":"WebPage","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#webpage","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/","name":"Using Remote-Only Mode - WPCode","description":"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we'll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#website"},"breadcrumb":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/#breadcrumblist"},"author":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/marko\/#author"},"creator":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/marko\/#author"},"datePublished":"2026-10-30T06:42:08-04:00","dateModified":"2026-10-30T07:04:51-04:00"},{"@type":"WebSite","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#website","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","inLanguage":"en-US","publisher":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"WPCode - The Best WordPress Code Snippets Plugin","og:type":"article","og:title":"Using Remote-Only Mode - WPCode","og:description":"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we'll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the","og:url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/","og:image":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:secure_url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:width":2400,"og:image:height":1260,"article:published_time":"2026-10-30T10:42:08+00:00","article:modified_time":"2026-10-30T11:04:51+00:00","twitter:card":"summary_large_image","twitter:title":"Using Remote-Only Mode - WPCode","twitter:description":"Would you like to make sure the code snippets on your site can only change through deploys that you approve with a passkey? In this guide, we'll show you how to turn on remote-only mode in WPCode and deploy snippet changes to your site from the WPCode Library. Requirements: Remote-only mode is available in the","twitter:image":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","twitter:label1":"Written by","twitter:data1":"Marko Miljanovic","twitter:label2":"Est. reading time","twitter:data2":"6 minutes"},"aioseo_meta_data":{"post_id":"7641","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-10-30 11:05:15","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-10-30 10:42:08","updated":"2026-10-30 12:15:29","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/\" title=\"Docs\">Docs<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tUsing Remote-Only Mode\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/"},{"label":"Docs","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/"},{"label":"Using Remote-Only Mode","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/remote-only-mode\/"}],"_links":{"self":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/7641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc"}],"about":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/types\/wpcode_doc"}],"author":[{"embeddable":true,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/users\/16"}],"version-history":[{"count":2,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/7641\/revisions"}],"predecessor-version":[{"id":7646,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/7641\/revisions\/7646"}],"wp:attachment":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/media?parent=7641"}],"curies":[{"name":"wp","href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/api.w.org\/{rel}","templated":true}]}}