Co

Code Snippets

by Code Snippets Pro

The original snippet manager, with per-snippet activation and a clean import and export format.

4.7509 WordPress.org reviewsCode snippetsFreemium

This link may earn us a commission. It never changes our rating.

What Code Snippets does

The original snippet manager, with per-snippet activation and a clean import and export format.

It sits in the code snippets part of a WordPress stack and is sold by Code Snippets Pro on a freemium basis. We recommend it in our code snippets guides because it does that one job well without asking you to rebuild the rest of the site around it.

Every plugin adds work to a page request, so treat this as a decision with a cost. Record a speed test before you install it and run the same test afterwards, on the same page, so you know exactly what it charged you.

Real user ratings

Score

4.7/5

Reviews

509

Active installs

1,000,000+

Downloads

23.1M

Latest version

3.10.2

Last updated

2026-09-02

These figures come straight from the public WordPress.org plugin directory API for version 3.10.2, not from us. Check them yourself on the WordPress.org listing. Our own editorial score is 4.8/5.

Where Code Snippets ranks elsewhere

PublisherListPosition
WPBeginnerMust Have WordPress Plugins for Every Website#22 of 24
WPBeginnerBest WooCommerce Plugins for Your Store#29 of 32

Positions are read from the published articles themselves, so they reflect that publisher's order rather than ours. Lists get re-ordered over time, so follow the link if you want the current version.

What changed in the latest version

v3.10.2Latest release2026-09-01
  • Added a confirmation flow for run-once snippet execution and hardened the handler to prevent failed or confusing actions.
  • Snippet names now respect the row truncation Screen Option in the admin list for better readability.
  • Version switching AJAX requests now validate the correct nonce, improving reliability when updating snippet versions.
  • Fixed safe mode fatal errors caused by an undefined wp_get_current_user() call.
  • Fixed PHP validation being triggered incorrectly when activating snippets in bulk.
  • Fixed saving issues after a user session expires.
  • Fixed warnings caused by aliased field names when reading modified snippet fields.
  • Fixed vendor autoloader issues by stripping unprefixed namespace references.
v3.10.12026-08-28
  • Enhanced active-link visibility in the toolbar with border-based styling.
  • Fixed a fatal error affecting snippets that use a namespace or declare statement.
  • Fixed the snippets page rendering blank when another plugin's screen settings filter returned an invalid value.
  • Fixed snippet saving on hosts that block REST API PUT and PATCH requests, by sending writes as POST with a method override.
  • Fixed the Snippets List Order setting not being applied to the snippets list.
  • Fixed admin bar snippet scripts failing to load on the free version, including on the site front end.
  • Fixed snippet modified dates being sent without the correct UTC offset.
  • Fixed the row truncation screen option not persisting across sessions.
v3.10.02026-08-24
  • New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens.
  • Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud.
  • Snippet preview modal for viewing snippet code from the snippets table without opening the editor.
  • Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens.
  • Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar.
  • Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24.
  • Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions.
  • Bulk actions and bulk code download support in the redesigned snippets table.

Release notes are the developer's own words, published on WordPress.org. Read the full changelog

Pros and cons

  • Simple, proven and free
  • A free tier you can trial before paying
  • Actively maintained and used on production sites we test
  • Fewer placement conditions
  • The features most sites need sit in the paid tier

How to use it

  1. 1Add one snippet at a time and give it a clear descriptive title.
  2. 2Set the placement and any conditional rules before activating.
  3. 3Activate on staging first if the snippet touches checkout or login.
  4. 4Use the error protection feature so a bad snippet cannot lock you out.
  5. 5Export your snippets so they can be restored on another site.

How it compares

Other code snippets plugins we recommend, with their rating and pricing model.

PluginOur ratingWordPress.orgPricingBest for
Code Snippets4.84.7 (509)FreemiumSimple, proven and free
Advanced Scripts4.6n/aPremiumPrecise placement conditions
Header Footer Code Manager4.64.9 (309)FreemiumMade for tracking tags
Insert Headers and Footers4.84.9 (1,880)FreemiumFastest way to add a tracking tag
Simple Custom CSS and JS4.74.4 (103)FreemiumCSS and JS with version history
WPCode4.94.9 (1,880)FreemiumError protection stops white screens

Guides that cover Code Snippets