Changelog
Versions before 1.0 are development versions, published so you can see how Snipfire got here.
0.17.1
Snipfire 0.17.1 and Snipfire Pro 0.17.1. Snipfire Pro 0.17.1 still needs Snipfire 0.17.0.
- Fix: with
DISALLOW_UNFILTERED_HTML, Pro's settings on Tools & Safe Mode (team access, cookie consent, snippet performance, Git sync) show the read-only notice and have their buttons switched off, instead of looking editable and failing when saved. A change that is refused says why. Locking Snipfire down - Fix: the LESS security messages, the
@pluginmessage and the Pro plugin description are translated into German, French, Italian, Spanish and Greek. - Fix: the performance figures say "ran 1 time" with the number in every language.
0.17.0
Snipfire 0.17.0 and Snipfire Pro 0.17.0. Snipfire Pro 0.17 needs Snipfire 0.17.0.
- Export as a plugin: turn snippets or a folder into a normal WordPress plugin that runs them without Snipfire: PHP on any hook, shortcodes, HTML in every location, CSS and JavaScript as files, settings filled in and the everyday conditions. A report lists what can't work without Snipfire first.
wp snipfire export-plugin. Export as a plugin - Page builders: an Elementor widget, Snipfire snippet, for shortcode snippets with their attributes as controls, and a Bricks element (beta). CSS, SCSS and LESS autocomplete offers design tokens: theme.json presets, and Elementor's and Bricks' global colours, fonts and variables. Page builders
- Signed updates: Snipfire installs an update only if its signature matches the release key built into the plugin and the version is newer; anything else is refused and nothing changes.
SNIPFIRE_UPDATE_URLfor another update server. Signed updates - The editor on any screen, with any input: one pane at a time on phones and tablets; full keyboard and screen reader support; WCAG AA contrast in both themes; reduced motion and high contrast respected; usable at 200% zoom. Leave the code editor with Esc then Tab, or Ctrl+M. Keyboard, screen readers and small screens
- Getting started screen for new sites, and a Snipfire → Snippet library menu item. Getting started
- System info for support tickets (Tools,
wp snipfire info --system, REST), with Copy to clipboard. No secrets, code or email addresses, and never sent anywhere. System info - Big sites: with 3,000 snippets the editor opens in about 2 seconds instead of 4, search takes about 17 ms per keystroke, saving about 40 ms, and bulk actions on 500 snippets under a second instead of over a minute. Snipfire now adds no database queries to the front end.
- The WPCode importer converts WPCode's smart tags and WPCode Pro's CSS selector locations. Switch from WPCode
- REST:
GET /status(versions, counts, errors, safety switches) andGET /snippets?uid=…, for tools that look after several sites. REST API - Translations: German, French, Italian and Spanish reviewed and completed; every new string translated into all five languages. Languages
- Fix:
wp snipfire create,updateandgeneratestop with an error on invalid JSON in--fields,--valuesor--conditions, instead of emptying them. - Fix: changing settings form values only changes the keys given (
--replace-values, orvalues_mode: "replace", to replace them all). Settings forms - Fix: the Google Analytics 4 generator makes a snippet without PHP, so people with CSS, JS and HTML access can use it. The GA4 purchase generator is locked without Snipfire Pro, and a snippet with order smart tags the site doesn't have is never printed. Generator code names the Settings form tab.
- Fix: Snippets on this page also lists PHP snippets on early hooks and HTML with excerpts and in post lists, in the block editor panel and now in the classic editor box too.
- Fix:
GET /block-snippetsgives writers without Snipfire access only the switched-on shortcode snippets; the block says when its snippet is off or gone. Listing generators needs view access over REST too. - Fix:
wp snipfire shortcodeschecks every post (--limitto stop early);import-fromhelp lists Post Snippets and Woody. - Fix: with
DISALLOW_UNFILTERED_HTML, administrators keep Tools & Safe Mode, system info and the error notices; snippet changes stay refused. Locking Snipfire down - Fix: importing a Woody PHP snippet limited to some WPML languages made a snippet that couldn't be switched on.
- Fix: multisite: uninstalling cleans every site, deleting a site deletes its snippets, and the Redirects generator works on sites in a folder.
- Pro: Scheduled snippets: PHP snippets every N minutes, hourly, twice a day, daily or weekly, with a run log of the last 50 runs, Run now and
wp snipfire schedule. Scheduled snippets - Pro: Snippet performance: time and memory per snippet (including hooked callbacks), for admins' page views or a sample of visitors, off by default; in the admin bar, the editor list, the snippet's settings and
wp snipfire profile. Snippet performance - Pro: Secrets vault for API keys, read in PHP snippets with
snipfire_secret( 'name' ); values are never shown, exported, synced or logged.wp snipfire secret. Secrets vault - Pro: AI assistant with your own key (Anthropic, OpenAI or an OpenAI-compatible provider): Explain, Fix this error (as a change you apply) and Write with AI.
wp snipfire ai. AI assistant - Pro: HTML next to an element found by a CSS selector (before, after, inside, instead of it; placed on the server, or in the browser when needed), and Pick an element in the hook finder. Next to an element
- Pro: the GA4 WooCommerce events generator and the
{woocommerce_data}smart tag. GA4 WooCommerce events - Agency: the agency hub: connect client sites with application passwords, push snippets, see where each version runs, roll back, and a health overview.
wp snipfire hub. Agency hub - Agency: network snippets for multisite, with network safe mode, a Site of the network condition, required snippets and per-site switches.
wp snipfire network. Network snippets - Pro security: SCSS and LESS snippets can no longer read files on the server (LESS's file functions and imports of real paths); LESS partials are compiled from memory; Git sync webhooks are acted on once. SCSS and LESS
- Pro fixes: the Language condition with WPML language codes that have a region (
pt-br); Borlabs Cookie builds without the group helper; the server-side consent condition with an empty Borlabs group; the hook finder breaking the<body>tag whenbody_class()ran a query. - Pro: keyboard and screen reader access in every Pro view; measuring performance is faster on big sites.
0.16.1
- Library: Greeklish addresses for Greek titles now changes only the addresses WordPress makes for new posts, pages, products and terms, and transliterates long titles in full. Greeklish file names changes only uploaded files, and only their Greek letters. Hide the WordPress version no longer uses one of the site's secret keys for its version code. Installed copies are offered the update.
- Snipfire Pro loads before snippets run from the folder its download unzips to (
snipfire-pro-premium).
0.16.0
Snipfire 0.16.0 and Snipfire Pro 0.16.0.
- Generators: custom post type, taxonomy, widget area, admin menu item, scheduled task, image size, menu location, redirects, schema (organization, local business, FAQ, article) and tracking codes, each a snippet with a settings form. In the editor, with
wp snipfire generateand WordPress abilities. Generators - Settings forms: snippets can have fields; PHP reads
$settings, HTML, JavaScript and CSS use{setting:key}, SCSS and LESS get variables. Settings forms - Smart tags such as
{post_title},{user_email},{page_url}and{custom_field:key}in HTML and JavaScript snippets, the Header & Footer boxes and page code.wp snipfire smart-tagslists them. Smart tags - The Snipfire panel in the block editor (code for one page, and the snippets that run on it) and a box in the classic editor. Page code
- The Snipfire block, for shortcode snippets with their attributes as block settings. The Snipfire block
- WooCommerce's hooks in the editor's autocomplete and the hook finder, with descriptions (WooCommerce's own, plus Snipfire's for the template hooks it doesn't document) and the functions WooCommerce hooks there. WooCommerce hooks
- Updates in WordPress: Snipfire checks snipfirewp.com twice a day, and new versions show on the Updates screen, with automatic updates if you switch them on. Off with
SNIPFIRE_DISABLE_UPDATE_CHECK. Sites on 0.15 or earlier update to 0.16 once by hand. Updating Snipfire - German, French, Italian and Spanish, next to English and Greek. Languages
- Library: a VAT note under prices for EU shops, and receipt or invoice in the block checkout. The Greek phone and postcode checks and the cash on delivery fee now work with the block checkout too.
- Fix: a link that opens the editor on a generator (or on a snippet picked in the library before the list had loaded) could end up on an empty new snippet.
- Pro: live preview for CSS, SCSS and LESS beside the editor. Live CSS preview
- Pro: add settings form fields to any snippet; people with CSS, JS and HTML access can change a snippet's values without touching its code. Settings forms
- Pro: WooCommerce order smart tags on the order-received page, including the items as JSON and "first view" for once-only conversion events, and the GA4 purchase event generator. Order smart tags
- Pro: the Custom PHP condition: a PHP expression decides where a snippet runs (full access only). Custom PHP
- Snipfire Pro 0.16.0 needs Snipfire 0.16.0 or later.
0.15.1
- 186 more library snippets and 19 new packs: comments and spam, the block editor, images, admin columns, users, login security (limit login attempts, email-only logins), email and SMTP, SEO basics (meta descriptions, Open Graph, article schema), RSS feeds, search, design touches, shortcodes, speed, developer tools, WooCommerce shop, cart, checkout and account tweaks, and more tracking codes.
- Snippets that change how the whole site or shop behaves (catalogue mode, email-only logins, logged-in-only comments…) stay off after installing a pack, like the ones that need your details.
0.15.0
- The snippet library: 70 ready-made snippets in 10 packs, including a Greek e-shop pack, shipped with the plugin. Install them switched off (or switched on after one test load), and get updates that keep the settings you changed. In the editor, on a classic screen, with
wp snipfire library, the REST API and WordPress abilities. The snippet library
0.14.0
- Renamed to Snipfire. The shortcode is
[snipfire], the WP-CLI commandwp snipfire, the REST APIsnipfire/v1, and snippets are stored inwp-content/snipfire/.
0.13.0
- New HTML locations: before or after paragraph N, before or after the excerpt, and in post lists before or after post N or between posts, in block and classic themes. Where snippets run
- Header & Footer screen: three boxes for code in the head, after
<body>and in the footer, each a snippet with history and conditions. Header & Footer - Files: ads.txt, app-ads.txt, llms.txt and /.well-known/security.txt served by WordPress, and extra robots.txt lines. Site files
- Shortcode finder: see where snippet shortcodes are used, spot ones that print nothing, and rewrite other plugins' shortcodes to Snipfire's.
- See who else has a snippet open, and get asked before a save overwrites someone else's newer version.
- WordPress abilities (WordPress 6.9+) for AI assistants and the MCP adapter. AI assistants
SNIPFIRE_DISABLE_PHPturns off PHP snippets for everyone;DISALLOW_UNFILTERED_HTMLmakes Snipfire view only. Locking Snipfire down- Import from Post Snippets and Woody Code Snippets. WPCode's paragraph, excerpt and post-list locations, and WPCode Pro's country and continent rules, now come across exactly.
- Pro: the Visitor region condition (EU, EEA, GDPR countries, continents), and Global Privacy Control for scripts that wait for marketing consent.
- WP-CLI:
listtakes--folder,--hookand--fields;createandupdatetake--position; newfilesandshortcodescommands;consent gpc.
0.12.0
- Git sync (Agency): two-way sync of your snippets with GitHub or GitLab (cloud or self-hosted), for the whole library or one folder; conflicts wait for you; code from Git is checked and test-loaded; one commit per sync; schedules, webhooks and WP-CLI. Git sync
- Every snippet has a permanent ID that travels with it in exports, so the same snippet is recognised on other sites.
- WP-CLI:
createandupdatetake--folder,--descriptionand--tags.
0.11.0
- Snipfire is now the free core; SCSS/LESS, cookie consent, testing mode, the hook finder, team access, the activity log and the visitor, language and WooCommerce cart conditions move to the Snipfire Pro add-on.
- The editor runs on WordPress's own React and loads faster.
- Snippet settings that need Pro are kept, and fail safely without it.
- The history keeps the last 10 versions of each snippet (50 with Pro).
0.10.0
- Every screen, message and label can be translated; Greek is included.
- Each person sees Snipfire in their own profile language.
0.9.0
- Team access by role: no access, view only, CSS/JS/HTML without PHP, or full.
- Activity log of every change, with who and where from.
- WP-CLI:
wp snipfire access,wp snipfire log.
0.8.0
- Visual hook finder: every hook labelled where it fires, with what it passes and what's attached; add a snippet in one click.
0.7.0
- Cookie consent for JavaScript and HTML snippets, with Complianz, CookieYes, Cookiebot, Borlabs Cookie, the WP Consent API and Google Consent Mode v2.
- Cookie consent given condition for PHP snippets.
0.6.0
- WooCommerce conditions: cart subtotal, items in cart, cart contains product or category, customer has bought, customer's paid orders, and the thank-you page type.
- Referrer, country and language conditions.
- Grouped rule picker.
0.5.0
- History with side-by-side comparison, Load into editor and Restore.
- Testing mode with a preview link, and Go live.
0.4.0
- SCSS and LESS, with partials and live error checking. A broken edit keeps the last compiled CSS live.
0.3.0
- Import and one-click switch over from WPCode, Code Snippets, FluentSnippets, Header Footer Code Manager, Simple Custom CSS and JS, the Customizer's Additional CSS, and WPCodeBox (beta). Old shortcodes keep working.
0.2.0
- The editor app: Monaco with WordPress, WooCommerce and PHP autocomplete, the hook picker that writes callbacks, hover docs, Emmet, formatting and live error checking; folders, search, bulk actions.
0.1.0
- First development version: file-based snippets, locations and priorities, shortcodes, conditions, syntax checks, test loads, automatic switch-off after errors, safe mode, REST API and WP-CLI.
Something unclear or missing? Tell us