best setup for Code Snippets.
- 5checks in the recipe
- 3set for you
- 2shown as steps
- 0to take care with
Short answer
Turn Complete Uninstall off so your snippets survive a reinstall, save new snippets switched off until you have checked them, and turn the error reports to the maker off. Open the settings screen once and save, so your choices are stored.
The Tunewise recipe for Code Snippets looks at 5 checks. It starts with: Your snippets are kept if the plugin is removed. Tunewise changes 2 for you, and changes 1 for you or shows the steps, as you choose, and shows you the steps for 2. All of them are low risk.
Tested on 2026-11-05 with Code Snippets 4.1.0 on WordPress 7.1.3 and WooCommerce 11.2.1.
- Your snippets are kept if the plugin is removedafter: set for you
- Code Snippets settings are storedafter: you have the steps
- New snippets are saved switched offafter: set for you
- Code Snippets does not send error reportsafter: set for you
- Snippets are not paused by safe modeafter: you have the steps
These are real checks from the Code Snippets recipe. The ring above fills as each one is done. The picture shows the order of work, not your shop.
Common mistakes
- Leaving Complete Uninstall on. Deleting the plugin, even to reinstall it, wipes every snippet you made.
- Pasting a snippet that is switched on the moment it is saved. A mistake in it then runs on every page at once.
- Leaving safe mode set after a repair. While it is set, none of your snippets run.
Good to know
- Until its settings screen is opened and saved once, the plugin runs on its defaults, which switch each new snippet on as soon as it is saved.
- One owner's uninstall stopped half way in version 4.0.0, another reason to keep snippets on removal and to make a backup first.
- A snippet set to run only on the shop side does not run in the admin, so test new snippets before you rely on them.
the setup, step by step.
The "why" below is what Tunewise tells a shop where the check applies. Tunewise first reads your shop, so you only see the checks that fit it.
Your snippets are kept if the plugin is removed
Low riskTunewise changes it for youData- Why
- Your shop has Complete Uninstall on in Code Snippets, so deleting the plugin, even to reinstall it, wipes every snippet you made.
- What it helps
- A reinstall does not lose your code.
- Where to find it
- Snippets > Settings, "Delete snippets on uninstall"
Code Snippets settings are stored
Low riskTunewise shows you the stepsData- Why
- Your shop runs Code Snippets but its settings were never stored; until its screens are opened once, the plugin uses its defaults, which switch each new snippet on as soon as it is saved.
- What it helps
- Tunewise can check the safety settings.
- Tip
- Open Snippets, Settings once and press Save Changes.
- Where to find it
- Snippets > Settings, "Settings stored"
New snippets are saved switched off
Low riskTunewise changes it, or shows the steps: you chooseSecurity- Why
- Your shop is looked after by you alone and lets Tunewise act; Code Snippets switches a new snippet on as soon as it is saved, so a pasted snippet with a mistake runs on every page before you have checked it.
- What it helps
- You test a snippet before it reaches buyers.
- Tip
- Open Snippets, Settings and untick Activate by Default, then press Save Changes. Each new snippet then waits until you switch it on.
- Where to find it
- Snippets > Settings, "New snippets on at once"
Code Snippets does not send error reports
Low riskTunewise changes it for youPrivacy- Why
- Your shop is based in your country; the Feedback Reporter sends error details from your site to the plugin's maker, which needs your visitors' consent under European privacy rules when personal data is in them.
- What it helps
- No site details leave without consent.
- Where to find it
- Snippets > Settings, "Error reports to the maker"
Snippets are not paused by safe mode
Low riskTunewise shows you the stepsContent- Why
- Your shop has Code Snippets safe mode set in wp-config.php, so none of your snippets run; it is meant only for fixing a snippet that broke the site.
- What it helps
- The snippets you rely on really run.
- Tip
- Once the broken snippet is fixed or switched off, remove the CODE_SNIPPETS_SAFE_MODE line from wp-config.php (or ask your host).
- Where to find it
- Snippets > Settings, "Safe mode"
Leave these alone or take care
These checks carry more risk, or Tunewise does not change them by itself. For those it shows you the steps and you decide.
- Code Snippets settings are storedShown only: you make the change
- Snippets are not paused by safe modeShown only: you make the change
It depends on your shop
2 of 5 checks only apply to some shops. This is what each one depends on.
- New snippets are saved switched off: depends on your start answer on who looks after the site: you alone, or a developer or a team; and on your start answer on whether Tunewise makes changes for you or shows them to you first.
- Code Snippets does not send error reports: depends on the country your shop is based in.
Tested on
- Code Snippets version
- 4.1.0
- Test date
- 2026-11-05
- WordPress
- 7.1.3
- WooCommerce
- 11.2.1
- Versions the recipe fits
- 4.1 to 4.1.x
- After each change
- Tunewise checks the home page, product page, cart and checkout, sitemap, PHP errors, robots.
- Recipes file
- Version 1.33.0, signed, checked before this page was built.
What changed in this recipe
- First version: 6 checks that follow the shop (its facts and the start answers). Tested on 2026-11-05 with version 4.1.0 on WordPress 7.1.3 and WooCommerce 11.2.1. We know version 4.1.x.
Questions and answers
What is the best setup for Code Snippets?
Turn Complete Uninstall off so your snippets survive a reinstall, save new snippets switched off until you have checked them, and turn the error reports to the maker off. Open the settings screen once and save, so your choices are stored.
What does Tunewise check in Code Snippets?
Your snippets are kept if the plugin is removed; Code Snippets settings are stored; New snippets are saved switched off; Code Snippets does not send error reports; Snippets are not paused by safe mode.
Can Tunewise change the Code Snippets settings for me?
Yes, for 3 of 5 checks. For 2 it shows you the steps and you make the change yourself. Every change is explained first, checked after, and can be undone.
Where do I find these settings?
Snippets > Settings.
What are common mistakes with Code Snippets?
Leaving Complete Uninstall on. Deleting the plugin, even to reinstall it, wipes every snippet you made. Pasting a snippet that is switched on the moment it is saved. A mistake in it then runs on every page at once. Leaving safe mode set after a repair. While it is set, none of your snippets run.
Does the best setup for Code Snippets depend on my shop?
Yes, for 2 of 5 checks. For example, "New snippets are saved switched off" depends on your start answer on who looks after the site: you alone, or a developer or a team, and on your start answer on whether Tunewise makes changes for you or shows them to you first.
Which version of Code Snippets was this tested on?
Tested on 2026-11-05 with Code Snippets 4.1.0 on WordPress 7.1.3 and WooCommerce 11.2.1. The recipe fits versions 4.1 to 4.1.x.
What does "Code Snippets settings are stored" do for my shop?
Tunewise can check the safety settings. Open Snippets, Settings once and press Save Changes.
What does "New snippets are saved switched off" do for my shop?
You test a snippet before it reaches buyers. Open Snippets, Settings and untick Activate by Default, then press Save Changes. Each new snippet then waits until you switch it on.
Plugin names and icons belong to their owners. Tunewise is not affiliated with or endorsed by them. The icon comes from the plugin's own listing on WordPress.org.
Let Tunewise set up Code Snippets for your shop
The free plugin reads your shop and shows your plan before anything changes. Update Guard is on from the first minute.