Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Everything Snipfire does.

Most of it is in the free plugin. Features marked Pro need Snipfire Pro, and Git sync, the agency hub and network snippets need the Agency plan.

An editor that knows WordPress

A real code editor inside WordPress, built on Monaco, the engine behind VS Code.

  • WordPress autocomplete 6,800+ WordPress, WooCommerce and PHP functions with signatures and descriptions.
  • The callback writes itself Type add_action( ' and pick one of 5,200+ hooks: the whole callback appears with the right parameters, plus a return for filters.
  • Hover docs and parameter hints With links to the official documentation.
  • Live error checking Red markers and a Problems panel as you type, before you save.
  • Emmet and Prettier Emmet for HTML and CSS, one-click formatting for PHP, CSS and JavaScript.
  • Dark and light themes Ctrl/Cmd+S saves, and a warning stops you leaving with unsaved changes.
  • WooCommerce hooks, explained 2,600+ WooCommerce hooks in autocomplete and the hook finder, with what each one passes and what WooCommerce already hooks there.
  • Your design tokens in autocomplete Type -- in a CSS, SCSS or LESS value for your theme.json colours, fonts, spacing and shadows, and Elementor's or Bricks' global colours, fonts and variables.
  • Live CSS preview Pro Your site beside the editor, with CSS, SCSS or LESS applied as you type, before anything goes live.
  • AI assistant, with your own key Pro Explain a snippet in plain words, fix an error (shown as a diff you apply yourself) or describe a new snippet and get it switched off, ready to check. Anthropic, OpenAI or any OpenAI-compatible provider. Nothing is sent until you click, and the key stays on your server.
  • On phones and tablets On narrow screens the editor shows one pane at a time: the list, the code or the settings, full width, with no sideways scrolling.
  • Keyboard and screen reader access Every menu, dialog and switch works from the keyboard and has a name screen readers read out. WCAG AA contrast in both themes, reduced motion and high contrast respected, usable at 200% zoom.

Start from something that works

Ready-made snippets and generators, each one a normal snippet you can read and change.

  • The snippet library 258 tested snippets in 29 packs, from security and performance to WooCommerce. Install one or a whole pack, switched off until you say so.
  • Generators Post types, taxonomies, widget areas, admin menu items, scheduled tasks, image sizes, menus, redirects, schema, Google Analytics, Tag Manager and Meta Pixel: fill in a form, get a snippet.
  • Settings forms Generated and library snippets open on a simple form: text, numbers, toggles, colours, lists. The code reads the values.
  • Forms for any snippet, for clients Pro Add fields to your own snippets with the field builder. People with design access can change the values of a PHP snippet without touching its code.
  • GA4 WooCommerce events Pro A generator for product lists, product views, cart, checkout, payment info and purchases with full GA4 item data, for the classic and the block checkout, sent to the Google tag or Tag Manager. Waits for statistics consent.

Every kind of snippet

PHP, HTML, CSS and JavaScript, each placed exactly where it belongs.

  • PHP Runs like functions.php, or on any WordPress hook with a priority. Any custom action name works too.
  • HTML In the header, after <body> opens, the footer, before or after post content, admin pages or the login page. PHP allowed.
  • CSS Front end, front end and block editor, block editor only, admin or login. Minified.
  • JavaScript Header or footer of the front end, admin or login page, with defer or async.
  • Ads and calls to action inside content HTML before or after paragraph 3, around the excerpt, or between posts in a list. Works in block themes and classic themes.
  • A Header & Footer screen Three boxes for the head, after <body> opens and the footer, like the plugin you're used to. Each one is a real snippet, with history and crash protection.
  • Inline or cached file Print CSS and JavaScript inline, or serve them as cached static files.
  • Shortcodes and "Run now" Use [snipfire id="12"] or your own tag like [promo_banner], with attributes. Or run a snippet once with a click.
  • Smart tags {post_title}, {user_email}, {page_url}, {custom_field:key} and more in HTML and JavaScript snippets, escaped for you.
  • Code for one page, and a block A Snipfire panel in the block editor (and a box in the classic editor) adds code to that page only and lists what runs there. The Snipfire block places a shortcode snippet with its settings.
  • Elementor widget and Bricks element Place a shortcode snippet from the builder, with its attributes as the widget's controls. The Bricks element is in beta.
  • Next to any element Pro Put HTML before, after or inside any element a CSS selector finds, or instead of it. Placed on the server where it can be, so page caches and search engines see it. Pick the element on the page with the element picker.
  • PHP on a schedule Pro Run a PHP snippet every few minutes, hourly, twice a day, daily or weekly, from a start time you choose, with a log of the last 50 runs and Run now.
  • Order data on the thank-you page Pro WooCommerce order total, items, coupons and customer as smart tags, checked against the order key, with a flag so conversion scripts fire once.
  • SCSS and LESS Pro Compiled to minified CSS when you save, never on page views. Modern SCSS works: @use, @forward, sass:math.
  • Shared partials Pro Import variables and mixins from another snippet by its title. Change a partial and every stylesheet that uses it is rebuilt.
  • A typo never takes your styles off the site Pro Save a broken edit to a live stylesheet and the last version that compiled stays live until you fix it.

28 rules for where and when

Combine rules into groups: a snippet runs when any group fully matches. Snipfire warns you when a rule can't work where you've put it.

  • Visitor Logged in or out, user role, device, cookie, query parameter and UTM tags.
  • Page Request type, URL, page type, post type, post or page, taxonomy term.
  • Date and time Date range, time of day (past midnight too) and day of the week.
  • Site Production, staging, development or local, and "only if another plugin is active".
  • WooCommerce pages Shop, product, product category, cart, checkout, my account and the thank-you page.
  • WooCommerce cart and customers Pro Cart subtotal, items in cart, cart contains a product or category, has bought a product, number of paid orders.
  • Where visitors come from Pro Referrer, visitor country (from Cloudflare, your host or WooCommerce, no outside service) and language with WPML or Polylang.
  • Visitor region Pro EU, EEA, "GDPR countries" (EEA, UK and Switzerland) or a continent. Handy for consent and legal notices.
  • Cookie consent given Pro For PHP snippets that should only run once the visitor has agreed.
  • Your own PHP rule Pro Write any PHP expression as a rule. It's checked on save, and a rule that breaks keeps the snippet off.
  • Site of the network Agency plan On multisite, run a network snippet only on some sites, or on every site but some.

Try, compare, restore

Change a live site without your visitors seeing half-finished work.

  • History for every snippet Side-by-side diffs of code and settings, Load into editor, and Restore in one click. 10 versions free, 50 on Pro.
  • Testing mode Pro A snippet runs only for admins and anyone with the preview link. Preview pages are never cached. Then Go live.
  • Visual hook finder Pro Click Hooks in the admin bar: every hook is labelled where it fires, with what it passes and what's attached at which priority. One click puts a snippet there.
  • Shortcode finder See every post, page, template and widget that uses a snippet shortcode, spot ones that print nothing, and rewrite old plugins' shortcodes in one click (a revision is kept).
  • Two people, one snippet The editor shows who else has a snippet open, and asks before your save replaces someone else's newer one.
  • Folders, tags and bulk actions Nested folders with drag and drop, search by title, hook or tag, filters, and switching many snippets on with one test load.
  • Signed updates inside WordPress New versions show up under Dashboard > Updates like any plugin, automatic updates included. Snipfire installs an update only if it's signed with the release key built into the plugin. Your snippets live outside the plugin folder, so an update never touches them.
  • What each snippet costs Pro Time and memory per snippet on each page, including the callbacks a PHP snippet hooks in, for your own page views or a sample of visitors. In the admin bar, the snippet list and WP-CLI. Off until you switch it on.
  • System info for support Versions, storage, safety switches, snippet counts and recorded errors, copied in one click for a support ticket. No secrets, code or email addresses, and never sent anywhere.

For teams and agencies

Let the right people change the right things, keep your snippets in Git, and look after every client site from your own.

  • Team access by role Pro No access, view only, CSS/JS/HTML without PHP, or full. Enforced on the server for every change. Administrators (super admins on multisite) always keep full access.
  • Activity log Pro Who changed what, when, and from where: the editor, the REST API, WP-CLI or automatic. Kept 12 months.
  • Git sync Agency plan Two-way sync with GitHub or GitLab, cloud or self-hosted. Readable files, one commit per sync, conflicts you settle yourself.
  • Agency hub Agency plan Connect client sites with a WordPress application password, push snippets to them, see where each version runs, roll back, and check every site's health. Your sites talk to each other directly: no cloud service in between.
  • Network snippets for multisite Agency plan Write a snippet once in Network Admin and it runs on every site, or only the sites you choose. Mark it required, or let sites switch it off for themselves. Network safe mode stops them all.
  • Cloud library Coming soon Save snippets to your library and pull them onto any site.

For developers

Snippets are plain files, and everything the editor does, you can script.

  • WP-CLI wp snipfire list, create, update, enable, run, export, export-plugin, import, import-from, generate and more.
  • REST API Snippets, bulk actions, folders, validation, export and import, the importers, and a status route for tools that look after many sites.
  • 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 and the everyday conditions. A report lists anything that needs Snipfire first.
  • Plain files Easy to back up, diff and inspect. Protected from direct web access.
  • AI assistants, on your terms Let Claude, Cursor or any MCP client list, check and save snippets through WordPress abilities, with the same access as the person who connected it. New snippets start switched off. Off until you turn it on. Needs WordPress 6.9 or newer.
  • A secrets vault Pro Keep API keys and tokens encrypted instead of in your code, and read them with snipfire_secret( 'name' ). Values are never shown again, exported, synced or logged.
  • Site files ads.txt, app-ads.txt, llms.txt and security.txt served by WordPress, plus your own lines in robots.txt.
  • Kill switches for hosts One line in wp-config.php turns off PHP snippets for everyone, while CSS, JavaScript and HTML keep working.
  • Filters and hooks Change the required capability, add import sources, and more.

In your language

Every screen, message and label is translated, and each person sees their own profile language.

  • Six languages, fully English, German, French, Italian, Spanish and Greek: the editor, conditions, errors, the import screen, the activity log and the hook finder. Not just the menus.
  • One site, two languages A German client and an English-speaking developer can work on the same site, each in their own language.

What you need

  • WordPress 6.5 or newer and PHP 8.1 or newer (WordPress 6.9 for the AI-assistant abilities).
  • Any theme and any page builder, including Bricks, Oxygen, Breakdance and Elementor.
  • A desktop, a tablet or a phone, with a mouse, a keyboard or a screen reader.
  • Only administrators manage snippets unless you give other roles access (Pro).
  • Uninstalling keeps your snippet files unless you ask for them to be deleted.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.