Type to search.

#32 by installscommercial

Code Snippets

by Code Snippets ProVersion 4.0.0

Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code, track snippet totals and reuse code across sites.

Active installs
1+ million
#32 of 1,000
Downloads, all time
24.6M
24,554,496
Downloads, 30 days
1M
184.4K in the last 7
Rating
4.7 / 5
510 reviews
Last updated
10 days ago
Oct 21, 2026
Version
4.0.0
67 releases

What Code Snippets's own page says

Read from codesnippets.proon

Who it is for

Code snippets is the plugin of choice for many content creators, educators, agencies, and businesses.

Use cases the vendor names

  • Add custom code to your site without modifying themes or plugins.
  • Reduce the number of plugins used on a website.
  • Easily manage and tailor code snippets for better website performance.

Features it lists

  • AI Agent plans snippets before writing.
  • Cloud Sync for backup and collaboration.
  • Snippet conditions for precise execution control.
  • Performance tracking to find slow snippets.
  • Security scanning for risky patterns in PHP snippets.
  • Revision history for easy comparison and restoration of snippet versions.
  • Community library for discovering shared snippets.

A script read this page, and kept only what the page's text backs up. These are the vendor's list prices and its own words, not a deal and not my review. Prices change and can differ by country, so confirm on the vendor's page before you buy.

Upkeep and compatibility

Last updatedOctober 21, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress5.5 or newer
Needs PHP7.4 or newer
First publishedJune 13, 2012
Support, last two months20 of 26 threads resolved (77%)

Reviews

4.7 / 5 from 510 reviews

Reviews by star rating
5 stars454
4 stars13
3 stars7
2 stars7
1 star29

Downloads, last 30 days

Low 7.2K a dayHigh 324.5K a day

What the author says it does

Code Snippets gives you a dedicated WordPress dashboard for creating, organising and managing custom code. Add PHP functionality and reusable HTML content, choose where PHP snippets run, and activate or deactivate snippets individually.

Find snippets with search, tags and filters, switch between table and card views, and preview code without opening the editor. Lock important snippets to help prevent accidental changes, and use the Stats overview to see snippet totals and breakdowns.

Watch the Code Snippets 4.0 walkthrough

See the plugin in use, including features from both the free and Pro editions. The Pro features listed below require the relevant Pro access.

Want AI-assisted code creation and advanced controls? Code Snippets Pro adds the AI Agent, snippet revisions, visual display conditions, CSS and JavaScript snippets, and connected Cloud workflows.

Your snippets stay separate from your theme files. Browse Community Cloud for shared snippets, and use import and export to reuse your code across sites.

Code Snippets has been available on WordPress.org since 2012 and is active on 1 million+ WordPress installations.

Included in the free plugin

  • PHP snippets without editing theme files. Add custom functions and WordPress hooks from your dashboard.
  • Reusable HTML content. Create content snippets and insert them into posts and pages with shortcodes.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

How can I recover my site if a snippet causes an error?

Use Code Snippets Safe Mode to prevent snippet execution while you investigate the problem. Follow the Safe Mode instructions for the appropriate recovery method, then fix or deactivate the affected snippet.

Will I lose my snippets if I change theme or update WordPress?

Snippets are stored separately from your theme in the WordPress database, so changing theme or updating WordPress does not remove them. Code that depends on a particular theme or plugin may still need updating when that dependency changes.

Can the plugin be completely uninstalled?

Enable Complete Uninstall under Snippets > Settings > Advanced before deleting the plugin through WordPress’s Plugins screen if you want stored snippets and plugin settings removed. Export snippets you want to keep first. Leave Complete Uninstall disabled if you want to retain your snippet data when deleting the plugin.

Can I copy snippets to another site?

Yes. Export a single snippet or select several snippets and use the export bulk action. Import the resulting file through the Snippets import screen on the other site.

Can I export snippets to PHP for a site without Code Snippets?

Yes. Select the PHP snippets, choose Export to PHP from the bulk actions and apply it. The generated file contains the exported code, with snippet names and descriptions in comments. Review the file before including it in a theme or plugin.

Can I run snippets across a multisite network?

Yes. Network activation provides a network-level Snippets screen. Activate a network snippet to run it across the network, subject to its execution scope. Individual sites can also have separate snippets, and shared network snippets can be enabled per site where configured.

Latest changelog entry

4.0.0 (2026-10-12)

Added

  • Stats page for viewing snippet totals and breakdowns by type, run location and tags.
  • Optional feedback reporter for sending bug reports, feature requests and general feedback from plugin screens.
  • Interactive demos of the AI Agent, Blueprints and Cloud Library in the free plugin. The full tools require Pro access.
  • AI Agent for building snippets from a description, with a plan to review and refine before code generation. (PRO)
  • Snippet revisions, with a history of past versions, a side-by-side comparison and restoration of an earlier revision. (PRO)

Screenshots

First 4 of 6, from WordPress.org.

Tagged

Plugins that share its tags

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets

Installs
100,000+
Rating
4.9 (227)
Updated
47 days ago

#242 by installs

User Switching

by John Blackbourn

Instant switching between user accounts in WordPress and WooCommerce.

Installs
200,000+
Rating
4.9 (238)
Updated
2 months ago

#268 by installs

PHP Compatibility Checker

by WP Engine

Make sure your plugins and themes are compatible with newer PHP versions.

Installs
200,000+
Rating
2.7 (131)
Updated
3 months ago

#302 by installs

Head & Footer Code

by Aleksandar Urošević

Easy add site-wide, category and article specific custom code before the closing </head> and </body>, or after opening <body> tag.

Installs
100,000+
Rating
5.0 (51)
Updated
2 months ago

#359 by installs

Simple Custom CSS Plugin

by John Regan

Add Custom CSS to your WordPress site without any hassles.

Installs
100,000+
Rating
4.7 (159)
Updated
20 months ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.