{"id":7384,"date":"2026-10-07T08:18:45","date_gmt":"2026-10-07T12:18:45","guid":{"rendered":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-mode\/"},"modified":"2026-10-07T08:18:45","modified_gmt":"2026-10-07T12:18:45","slug":"using-testing-mode","status":"publish","type":"wpcode_doc","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-mode\/","title":{"rendered":"Using Testing Mode"},"content":{"rendered":"<p>Would you like to try a change to a code snippet on your live site without your visitors seeing it until it&#8217;s ready?<\/p>\n<p>In this guide, we&#8217;ll walk you through previewing snippet changes with WPCode&#8217;s Testing Mode and publishing or discarding them.<\/p>\n<div class=\"alert alert-warning\">\n<p><strong>Requirements<\/strong>: Testing Mode is available in the paid versions of WPCode.<\/p>\n<\/div>\n<ul class=\"toc\">\n<li><a href=\"#turning-on-testing-mode\">Turning On Testing Mode<\/a><\/li>\n<li><a href=\"#making-and-previewing-changes\">Making and Previewing Changes<\/a><\/li>\n<li><a href=\"#publishing-or-discarding-your-changes\">Publishing or Discarding Your Changes<\/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=\"turning-on-testing-mode\">Turning On Testing Mode<\/h2>\n<p>To get started, we&#8217;ll switch on Testing Mode so your snippet changes stay hidden from visitors while you check them.<\/p>\n<p>From your WordPress admin sidebar, go to <strong>Code Snippets \u00bb Code Snippets<\/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-testing-mode-step_01_navigate.webp?v=5cfa7515\" alt=\"The WPCode Code Snippets list opened from the Code Snippets menu in the WordPress admin sidebar\" \/><\/p>\n<p>At the top right of every WPCode screen, click the <strong>Testing Mode<\/strong> toggle to turn it on.<\/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-testing-mode-step_02_testing_mode_toggle.webp?v=013143ab\" alt=\"The WPCode header bar with an arrow pointing at the Testing Mode toggle, switched off, next to Help\" \/><\/p>\n<p>WPCode confirms that Testing Mode is on and explains who can see your changes. When you&#8217;ve read it, click <strong>OK<\/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-testing-mode-step_03_testing_mode_enabled.webp?v=9a95fd40\" alt=\"The Testing Mode Enabled message explaining that changes are only visible to users who can manage WPCode snippets, with an arrow pointing at the OK button\" \/><\/p>\n<p>Testing Mode now stays on until you switch it off, even if you log out.<\/p>\n<h2 id=\"making-and-previewing-changes\">Making and Previewing Changes<\/h2>\n<p>While Testing Mode is on, you edit snippets the same way as always. In our example, we&#8217;ve changed a free shipping banner from $50 to $40.<\/p>\n<p>When your edit is ready, click <strong>Update<\/strong> at the top of the snippet 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-testing-mode-step_04_update_snippet.webp?v=2127fc10\" alt=\"The Edit Snippet screen for a snippet named Free Shipping Banner, with the code changed to over $40 and an arrow pointing at the Update button\" \/><\/p>\n<p>WPCode saves your edit as a test version and leaves the live version in place. The editor now shows a Publish Changes button next to Update. We&#8217;ll come back to it when you&#8217;re ready to publish.<\/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-testing-mode-step_05_publish_changes_button.webp?v=0c7b5bdd\" alt=\"The Edit Snippet screen after updating in Testing Mode, with an arrow pointing at the new Publish Changes button beside Update\" \/><\/p>\n<p>To check your change, open your site while you&#8217;re logged in. Admins who can manage snippets see the test version on the front end and in the admin.<\/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-testing-mode-step_06_front_admin.webp?v=d6c8659f\" alt=\"The bottom of the site viewed by a logged-in admin, showing the test banner reading Free shipping on all orders over $40\" \/><\/p>\n<p>Everyone else still sees the live version. Here&#8217;s the same page for a visitor who isn&#8217;t logged in.<\/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-testing-mode-step_07_front_visitor.webp?v=73df2ff4\" alt=\"The bottom of the site viewed by a logged-out visitor, still showing the live banner reading Free shipping on all orders over $50\" \/><\/p>\n<p>The same applies to your Global Header &amp; Footer scripts and Page Scripts. Changes you save to them in Testing Mode stay hidden from visitors too.<\/p>\n<h2 id=\"publishing-or-discarding-your-changes\">Publishing or Discarding Your Changes<\/h2>\n<p>When you&#8217;re happy with a change, you can publish it for everyone. To publish just one snippet, use the Publish Changes button in its editor. After you confirm, WPCode publishes that snippet and your other test changes stay in Testing Mode.<\/p>\n<p>To finish testing, switch off the <strong>Testing Mode<\/strong> toggle. WPCode lists every change made in Testing Mode so you can review them before you decide. Each item links to its editor.<\/p>\n<p>To make all of your changes live, click <strong>Save &amp; Publish Changes<\/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-testing-mode-step_08_disable_dialog.webp?v=3d571a3c\" alt=\"The Disable testing mode? window listing Free Shipping Banner under Updated Snippets, with an arrow pointing at the Save and Publish Changes button beside Discard all changes and Cancel\" \/><\/p>\n<p>WPCode then switches Testing Mode off. Your visitors now see every change you tested.<\/p>\n<p>If you&#8217;d rather keep your live site as it was, click Discard all changes instead. WPCode drops every test change.<\/p>\n<p>To keep testing, click Cancel. Testing Mode stays on.<\/p>\n<p>That&#8217;s it! You now know how to test snippet changes privately and publish them when they&#8217;re ready. Next, take a look at our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/php-error-handling-safe-mode\/\" target=\"_blank\" rel=\"noopener\">PHP error handling and safe mode<\/a>. It shows how WPCode protects your site while you work on code.<\/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 WPCode&#8217;s Testing Mode.<\/p>\n<h3 id=\"who-sees-test-changes\">Who sees my changes while Testing Mode is on?<\/h3>\n<p>Every logged-in user who can manage WPCode snippets sees the test version. That includes other admins, not just you. Logged-out visitors and other users see the live version.<\/p>\n<h3 id=\"can-i-test-a-new-snippet\">How do I test a brand-new snippet in Testing Mode?<\/h3>\n<p>First, save the new snippet with its status set to Inactive. Then switch it on from the Code Snippets list while Testing Mode is on. Only admins who can manage snippets see it until you publish your changes.<\/p>\n<h3 id=\"are-conversion-pixels-included\">Does Testing Mode cover conversion pixels?<\/h3>\n<p>No. Changes on the Conversion Pixels screen go live as soon as you save them. WPCode shows a note about this on that screen while Testing Mode is on.<\/p>\n<h3 id=\"why-cant-i-trash-a-snippet\">Why can&#8217;t I move a snippet to the trash?<\/h3>\n<p>WPCode hides the Trash options in the Code Snippets list while Testing Mode is on. When you&#8217;re ready to remove a snippet, switch Testing Mode off first.<\/p>\n<h3 id=\"what-does-discard-do-to-new-snippets\">What happens to snippets I created during Testing Mode if I discard my changes?<\/h3>\n<p>WPCode deletes them permanently, along with any snippet you duplicated while testing. Edits to snippets you already had simply go back to their live version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would you like to try a change to a code snippet on your live site without your visitors seeing it until it&#8217;s ready? In this guide, we&#8217;ll walk you through previewing snippet changes with WPCode&#8217;s Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On [&hellip;]<\/p>\n","protected":false},"author":16,"template":"","class_list":["post-7384","wpcode_doc","type-wpcode_doc","status-publish","hentry","wpcode_doc_category-functionality"],"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 try a change to a code snippet on your live site without your visitors seeing it until it&#039;s ready? In this guide, we&#039;ll walk you through previewing snippet changes with WPCode&#039;s Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On\" \/>\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\/using-testing-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 Testing Mode - WPCode\" \/>\n\t\t<meta property=\"og:description\" content=\"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it&#039;s ready? In this guide, we&#039;ll walk you through previewing snippet changes with WPCode&#039;s Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-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-07T12:18:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-07T12:18:45+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Using Testing Mode - WPCode\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it&#039;s ready? In this guide, we&#039;ll walk you through previewing snippet changes with WPCode&#039;s Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On\" \/>\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=\"4 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\\\/using-testing-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\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"name\":\"Functionality\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"position\":3,\"name\":\"Functionality\",\"item\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/using-testing-mode\\\/#listItem\",\"name\":\"Using Testing Mode\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/using-testing-mode\\\/#listItem\",\"position\":4,\"name\":\"Using Testing Mode\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/functionality\\\/#listItem\",\"name\":\"Functionality\"}}]},{\"@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\\\/using-testing-mode\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/using-testing-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\\\/using-testing-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\\\/using-testing-mode\\\/#webpage\",\"url\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/using-testing-mode\\\/\",\"name\":\"Using Testing Mode - WPCode\",\"description\":\"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it's ready? In this guide, we'll walk you through previewing snippet changes with WPCode's Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/using-testing-mode\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/marko\\\/#author\"},\"datePublished\":\"2026-10-07T08:18:45-04:00\",\"dateModified\":\"2026-10-07T08:18:45-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 Testing Mode - WPCode<\/title>\n\n","aioseo_head_json":{"title":"Using Testing Mode - WPCode","description":"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it's ready? In this guide, we'll walk you through previewing snippet changes with WPCode's Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On","canonical_url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-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\/using-testing-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\/categories\/docs\/functionality\/#listItem","name":"Functionality"},"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\/categories\/docs\/functionality\/#listItem","position":3,"name":"Functionality","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/functionality\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-mode\/#listItem","name":"Using Testing Mode"},"previousItem":{"@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\/using-testing-mode\/#listItem","position":4,"name":"Using Testing Mode","previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/functionality\/#listItem","name":"Functionality"}}]},{"@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\/using-testing-mode\/#organizationLogo"},"image":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-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\/using-testing-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\/using-testing-mode\/#webpage","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-mode\/","name":"Using Testing Mode - WPCode","description":"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it's ready? In this guide, we'll walk you through previewing snippet changes with WPCode's Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On","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\/using-testing-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-07T08:18:45-04:00","dateModified":"2026-10-07T08:18:45-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 Testing Mode - WPCode","og:description":"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it's ready? In this guide, we'll walk you through previewing snippet changes with WPCode's Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On","og:url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-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-07T12:18:45+00:00","article:modified_time":"2026-10-07T12:18:45+00:00","twitter:card":"summary_large_image","twitter:title":"Using Testing Mode - WPCode","twitter:description":"Would you like to try a change to a code snippet on your live site without your visitors seeing it until it's ready? In this guide, we'll walk you through previewing snippet changes with WPCode's Testing Mode and publishing or discarding them. Requirements: Testing Mode is available in the paid versions of WPCode. Turning On","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":"4 minutes"},"aioseo_meta_data":{"post_id":"7384","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"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":null,"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":"","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":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-10-07 12:54:17","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":null,"created":"2026-10-07 12:18:45","updated":"2026-10-09 09:39:08","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\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/functionality\/\" title=\"Functionality\">Functionality<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tUsing Testing 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":"Functionality","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/functionality\/"},{"label":"Using Testing Mode","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/using-testing-mode\/"}],"_links":{"self":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/7384","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":0,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/7384\/revisions"}],"wp:attachment":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/media?parent=7384"}],"curies":[{"name":"wp","href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/api.w.org\/{rel}","templated":true}]}}