best setup for WPCode - Insert Headers and Footers + Custom Code Snippets.
- 4checks in the recipe
- 3set for you
- 1shown as steps
- 0to take care with
Short answer
Do not let outside tools add or switch on code snippets, keep your snippets when the plugin is removed, and turn usage tracking off. Add PHP snippets only when someone who can fix them is at hand.
The Tunewise recipe for WPCode - Insert Headers and Footers + Custom Code Snippets looks at 4 checks. It starts with: Outside tools cannot add code snippets. Tunewise changes 3 for you, and shows you the steps for 1. All of them are low risk.
Tested on 2026-11-05 with WPCode - Insert Headers and Footers + Custom Code Snippets 2.4.1 on WordPress 7.1.3 and WooCommerce 11.2.1.
- Outside tools cannot add code snippetsafter: set for you
- Your snippets are kept if the plugin is removedafter: set for you
- WPCode does not send usage dataafter: set for you
- PHP snippets are only added with someone who can fix themafter: you have the steps
These are real checks from the WPCode - Insert Headers and Footers + Custom 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 Delete All Data on Uninstall on. Removing the plugin, even just to reinstall it, then wipes every snippet you made.
- Pasting PHP from a website straight into a live shop. One mistake can stop the shop or the admin from loading.
Good to know
- Snippets that run everywhere are checked as one block, so one bad snippet can stop the others.
- With usage tracking off, nothing is sent to the maker.
- The plugin turns off a snippet that fails, but not every mistake is caught that way.
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.
Outside tools cannot add code snippets
Low riskTunewise changes it for youSecurity- Why
- Your shop lets outside tools connected through WordPress's abilities write and switch on WPCode snippets; a snippet runs PHP on every page, so one bad request can take the shop down or open it up.
- What it helps
- Only you decide what code runs on your site.
- Where to find it
- Code Snippets > Settings, "Snippet writing by outside tools"
Your snippets are kept if the plugin is removed
Low riskTunewise changes it for youData- Why
- Your shop has Delete All Data on Uninstall on, so removing WPCode, even to reinstall it, wipes every snippet you made.
- What it helps
- A reinstall does not lose your code.
- Where to find it
- Code Snippets > Settings, "Delete snippets on uninstall"
WPCode does not send usage data
Low riskTunewise changes it for youPrivacy- Why
- Your shop sells from your country and has WPCode's usage tracking on, which sends details about the site and its plugins to the maker each week.
- What it helps
- Less of your site's data leaves the server.
- Where to find it
- Code Snippets > Settings, "Usage tracking"
PHP snippets are only added with someone who can fix them
Low riskTunewise shows you the stepsSecurity- Why
- Your shop is looked after without a developer, and a PHP snippet with one mistake can stop the shop or the admin from loading; WPCode turns off a snippet that fails, but not every mistake is caught.
- What it helps
- Your shop keeps running when a snippet goes wrong.
- Tip
- Prefer HTML or JavaScript snippets and the ready made library snippets. Before adding PHP from a website, make a backup, add it as inactive first, and keep WPCode's safe mode link from its documentation at hand.
- Where to find it
- Code Snippets, "PHP snippets"
Leave these alone or take care
- PHP snippets, if nobody can repair them. Prefer HTML or JavaScript snippets and the ready made library snippets. Before adding PHP, make a backup and add the snippet as inactive first.
These checks carry more risk, or Tunewise does not change them by itself. For those it shows you the steps and you decide.
- PHP snippets are only added with someone who can fix themShown only: you make the change
It depends on your shop
1 of 4 checks only applies to some shops. This is what each one depends on.
- WPCode does not send usage data: depends on the country your shop is based in.
Tested on
- WPCode - Insert Headers and Footers + Custom Code Snippets version
- 2.4.1
- Test date
- 2026-11-05
- WordPress
- 7.1.3
- WooCommerce
- 11.2.1
- Versions the recipe fits
- 2.4 to 2.4.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: 4 checks that follow the shop (its facts and the start answers). Tested on 2026-11-05 with version 2.4.1 on WordPress 7.1.3 and WooCommerce 11.2.1. We know version 2.4.x.
Questions and answers
What is the best setup for WPCode - Insert Headers and Footers + Custom Code Snippets?
Do not let outside tools add or switch on code snippets, keep your snippets when the plugin is removed, and turn usage tracking off. Add PHP snippets only when someone who can fix them is at hand.
What does Tunewise check in WPCode - Insert Headers and Footers + Custom Code Snippets?
Outside tools cannot add code snippets; Your snippets are kept if the plugin is removed; WPCode does not send usage data; PHP snippets are only added with someone who can fix them.
Can Tunewise change the WPCode - Insert Headers and Footers + Custom Code Snippets settings for me?
Yes, for 3 of 4 checks. For 1 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?
Code Snippets > Settings; Code Snippets.
What are common mistakes with WPCode - Insert Headers and Footers + Custom Code Snippets?
Leaving Delete All Data on Uninstall on. Removing the plugin, even just to reinstall it, then wipes every snippet you made. Pasting PHP from a website straight into a live shop. One mistake can stop the shop or the admin from loading.
Which WPCode - Insert Headers and Footers + Custom Code Snippets settings should I leave alone?
PHP snippets, if nobody can repair them. Prefer HTML or JavaScript snippets and the ready made library snippets. Before adding PHP, make a backup and add the snippet as inactive first.
Does the best setup for WPCode - Insert Headers and Footers + Custom Code Snippets depend on my shop?
Yes, for 1 of 4 checks. For example, "WPCode does not send usage data" depends on the country your shop is based in.
Which version of WPCode - Insert Headers and Footers + Custom Code Snippets was this tested on?
Tested on 2026-11-05 with WPCode - Insert Headers and Footers + Custom Code Snippets 2.4.1 on WordPress 7.1.3 and WooCommerce 11.2.1. The recipe fits versions 2.4 to 2.4.x.
What does "PHP snippets are only added with someone who can fix them" do for my shop?
Your shop keeps running when a snippet goes wrong. Prefer HTML or JavaScript snippets and the ready made library snippets. Before adding PHP from a website, make a backup, add it as inactive first, and keep WPCode's safe mode link from its documentation at hand.
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 WPCode - Insert Headers and Footers + Custom 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.