MeteorGPLby WebbingApps
CS

Code Snippets Pro (Premium)

Plugin
Watch 0 Star 0
Install

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

  • 0 stars
  • 0 watching
  • 0 downloads
  • License not declared

Versions 0

Newest first · every version scanned before publication
Show 119 versions not available yet

Releases named in the vendor’s changelog or on WordPress.org that the repository does not have yet.

  1. 4.1.0-beta.1 Not available yet

    Added

    Changelog entry

  2. 4.0.0 Not available yet

    Added

    Changelog entry

  3. 3.10.2 Not available yet

    Added

    Changelog entry

  4. 3.10.1 Not available yet

    Changed

    Changelog entry

  5. 3.10.0 Not available yet

    Added

    Changelog entry

  6. 3.9.6 Not available yet

    Fixed

    Changelog entry

  7. 3.9.5 Not available yet

    Fixed

    Changelog entry

  8. 3.9.4 Not available yet

    Added

    Changelog entry

  9. 3.9.3 Not available yet

    Added

    Changelog entry

  10. 3.9.2 Not available yet

    Changed

    Changelog entry

  11. 3.9.1 Not available yet

    Changed

    Changelog entry

  12. 3.9.0 Not available yet

    Added

    Changelog entry

  13. 3.9.0-beta.2 Not available yet

    Added

    Changelog entry

  14. 3.9.0-beta.1 Not available yet

    Added

    Changelog entry

  15. 3.8.2 Not available yet

    Fixed

    Changelog entry

  16. 3.8.1 Not available yet

    Added

    Changelog entry

  17. 3.8.0 Not available yet

    Added

    Changelog entry

  18. 3.7.1-beta.3 Not available yet

    Added

    Changelog entry

  19. 3.7.1-beta.2 Not available yet

    Added

    Changelog entry

  20. 3.7.1-beta.1 Not available yet

    Added

    Changelog entry

  21. 3.7.0 Not available yet

    Added

    Changelog entry

  22. 3.6.9 Not available yet

    Changed

    Changelog entry

  23. 3.6.8 Not available yet

    Added

    Changelog entry

  24. 3.6.7 Not available yet

    Added

    Changelog entry

  25. 3.6.6.1 Not available yet

    Fixed

    Changelog entry

  26. 3.6.6 Not available yet

    Changed

    Changelog entry

  27. 3.6.5.1 Not available yet

    Redeployment of v3.6.5 to overcome issue with initial build.

    Changelog entry

  28. 3.6.5 Not available yet

    Added

    Changelog entry

  29. 3.6.4 Not available yet

    Added

    Changelog entry

  30. 3.6.3 Not available yet

    Added

    Changelog entry

  31. 3.6.2 Not available yet

    Removed

    Changelog entry

  32. 3.6.1 Not available yet

    Fixed

    Changelog entry

  33. 3.6.0 Not available yet

    Added

    Changelog entry

  34. 3.5.1 Not available yet

    Fixed

    Changelog entry

  35. 3.5.0 Not available yet

    Added

    Changelog entry

  36. 3.4.2 Not available yet

    Fixed

    Changelog entry

  37. 3.4.1 Not available yet

    Added

    Changelog entry

  38. 3.4.0 Not available yet

    Added

    Changelog entry

  39. 3.3.0 Not available yet

    Added

    Changelog entry

  40. 3.2.2 Not available yet

    Fixed

    Changelog entry

  41. 3.2.1 Not available yet

    Added

    Changelog entry

  42. 3.2.0 Not available yet

    Added

    Changelog entry

  43. 3.1.2 Not available yet

    Changed

    Changelog entry

  44. 3.1.1 Not available yet

    Added

    Changelog entry

  45. 3.1.0 Not available yet

    Added

    Changelog entry

  46. 3.0.1 Not available yet

    Fixed

    Changelog entry

  47. 3.0.0 Not available yet

    Added

    Changelog entry

  48. 2.14.6 Not available yet

    Fixed

    Changelog entry

  49. 2.14.5 Not available yet

    Fixed

    Changelog entry

  50. 2.14.4 Not available yet

    Fixed

    Changelog entry

  51. 2.14.3 Not available yet

    Fixed

    Changelog entry

  52. 2.14.2 Not available yet

    Added

    Changelog entry

  53. 2.14.1 Not available yet

    Added

    Changelog entry

  54. 2.14.0 Not available yet

    Added

    Changelog entry

  55. 2.13.3 Not available yet

    Added

    Changelog entry

  56. 2.13.2 Not available yet

    Removed

    Changelog entry

  57. 2.13.1 Not available yet

    Added

    Changelog entry

  58. 2.13.0 Not available yet

    Added

    Changelog entry

  59. 2.12.1 Not available yet

    Changed

    Changelog entry

  60. 2.12.0 Not available yet

    Added

    Changelog entry

  61. 2.11.0 Not available yet

    Added

    Changelog entry

  62. 2.10.2 Not available yet

    Added

    Changelog entry

  63. 2.10.1 Not available yet

    Fixed

    Changelog entry

  64. 2.10.0 Not available yet

    Added

    Changelog entry

  65. 2.9.6 Not available yet

    Added

    Changelog entry

  66. 2.9.5 Not available yet

    Changed

    Changelog entry

  67. 2.9.4 Not available yet

    Changed

    Changelog entry

  68. 2.9.3 Not available yet

    Fixed

    Changelog entry

  69. 2.9.2 Not available yet

    Fixed

    Changelog entry

  70. 2.9.1 Not available yet

    Fixed

    Changelog entry

  71. 2.9.0 Not available yet

    Changed

    Changelog entry

  72. 2.8.7 Not available yet

    Added

    Changelog entry

  73. 2.8.6 Not available yet

    Fixed

    Changelog entry

  74. 2.8.5 Not available yet

    Added

    Changelog entry

  75. 2.8.4 Not available yet

    Fixed

    Changelog entry

  76. 2.8.3 Not available yet

    Added

    Changelog entry

  77. 2.8.2 Not available yet

    Fixed

    Changelog entry

  78. 2.8.1 Not available yet

    Changed

    Changelog entry

  79. 2.8.0 Not available yet

    Changed

    Changelog entry

  80. 2.7.3 Not available yet

    Changed

    Changelog entry

  81. 2.7.2 Not available yet

    Changed

    Changelog entry

  82. 2.7.1 Not available yet

    Added

    Changelog entry

  83. 2.7.0 Not available yet

    Added

    Changelog entry

  84. 2.6.1 Not available yet

    Changed

    Changelog entry

  85. 2.6.0 Not available yet

    Added

    Changelog entry

  86. 2.5.1 Not available yet

    Fixed

    Changelog entry

  87. 2.5.0 Not available yet

    Added

    Changelog entry

  88. 2.4.2 Not available yet

    Added

    Changelog entry

  89. 2.4.1 Not available yet

    Fixed

    Changelog entry

  90. 2.4.0 Not available yet

    Added

    Changelog entry

  91. 2.3.0 Not available yet

    Added

    Changelog entry

  92. 2.2.3 Not available yet

    Added

    Changelog entry

  93. 2.2.2 Not available yet

    Added

    Changelog entry

  94. 2.2.1 Not available yet

    Fixed

    Changelog entry

  95. 2.2.0 Not available yet

    Added

    Changelog entry

  96. 2.1.0 Not available yet

    Added

    Changelog entry

  97. 2.0.3 Not available yet

    Changed

    Changelog entry

  98. 2.0.2 Not available yet

    Removed

    Changelog entry

  99. 2.0.1 Not available yet

    Fixed

    Changelog entry

  100. 2.0 Not available yet

    Highlights

    Changelog entry

All 119 releases not available yet, in the changelog

Readme

License

Code Snippets Pro (Premium)

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

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.

https://www.youtube.com/watch?v=q-QT9PXw2eQ

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.
  • Control where PHP runs. Choose everywhere, administration only or front end only. Run-once snippets are available for manually confirmed one-time tasks.
  • A built-in code editor. Work with syntax highlighting, code checking and adjustable editor preferences.
  • Organised snippet management. Use names, descriptions, tags, search, filters, sorting and bulk actions. Browse in table or card view, preview code without opening the editor, and lock important snippets to help prevent accidental edits or deletion.
  • Stats overview. View snippet totals, active and inactive counts, and breakdowns by type, run location and tags.
  • Import and export. Move snippets between sites using export files, or export PHP snippets as a PHP file for use without the plugin.
  • Community Cloud browsing. Search community-shared snippets from inside WordPress and download supported snippet types.
  • Optional file-based execution. Execute supported snippets from generated files instead of evaluating their code from the database.
  • Multisite support. Manage network-wide snippets and separate snippets for individual sites.
  • Safe Mode and feedback tools. Use Safe Mode to troubleshoot snippet-related failures. An optional feedback reporter can be enabled in settings.

PHP snippets execute code on your site. Only use code you trust, review it before activation and keep a current backup. Safe Mode helps with recovery; it does not make every snippet safe or guarantee that every error can be prevented.

Community-powered Code Snippets Cloud

Browse the community-powered Code Snippets Cloud library from inside WordPress. Search user-shared snippets, preview their code and download snippet types supported by your edition.

A Cloud account is not required to create and run local PHP and HTML snippets. Personal Cloud library, synchronisation and deployment workflows require a connected account and the relevant Pro access.

Code Snippets Pro

Code Snippets Pro extends the free plugin with additional code types, editing tools and connected workflows:

  • CSS and JavaScript snippets, with dedicated integration for Gutenberg and Elementor.
  • AI Agent. Describe the functionality you need, review and refine a proposed plan, then approve code generation. Review the generated snippets before activating them.
  • Snippet revisions. Compare a previous version with the current code and restore an earlier revision.
  • Display conditions. Define where and when snippets run through a visual condition editor.
  • Form-based Blueprints. Generate PHP code for common tasks such as custom post types, taxonomies, shortcodes, settings pages and extra user profile fields.
  • Role-based permissions. Control access to viewing, creating, editing and deleting snippets.
  • Ran on this page. See which snippets executed or produced output on the current request through the admin bar.
  • Performance and security insights. Optional PHP execution-time tracking and advisory checks for potentially risky code patterns. These checks are not a security audit or a guarantee that code is safe.
  • Connected Cloud workflows. Manage your personal Cloud library, synchronise snippets and deploy snippets to connected sites, with drift reporting when site and Cloud copies differ.

Cloud-connected Pro features require the appropriate licence and a connected Code Snippets Cloud account. Local PHP and HTML snippets do not require a Cloud account. The free plugin includes interactive demos of selected Pro workflows; using the full tools requires Pro access.

Compare Free and Pro

Documentation and community

Share your experience

Find Code Snippets useful? Leave a review on WordPress.org to share your experience and help others decide whether the plugin suits their needs.

Translation Credits

Thank you to everyone who helps make Code Snippets available in different languages. See the translation contributors or contribute a translation.

What it adds

  • 2 block(s):
  • WP-CLI: cs-discover, snippet

Installation

Automatic Installation

  1. Open Plugins > Add New and search for Code Snippets.
  2. Click Install Now, then Activate.
  3. Open the Snippets menu to add or manage your code.

Manual Installation

  1. Download and unzip the plugin.
  2. Upload the code-snippets directory to wp-content/plugins/.
  3. Activate Code Snippets from the Plugins screen.

Multisite Installation

Network activate the plugin to manage network-wide snippets from Network Admin. Individual sites can also have their own snippets. Network snippets must be activated or shared with the appropriate settings; simply creating a network snippet does not make it run everywhere.

Faq

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.

Where are snippets stored in the database?

Local snippets use the site's table prefix followed by snippets, for example wp_snippets on a single site or wp_2_snippets on a subsite. Network snippets use the network's base prefix followed by ms_snippets, for example wp_ms_snippets. Your actual prefix may differ.

When optional file-based execution is enabled, the plugin also creates files used to execute snippets. Continue managing those snippets through the plugin.

Where can I get help or request a feature?

Use the documentation or WordPress.org support forum for help. Report bugs and suggest improvements on GitHub, or discuss ideas in the Facebook and Discord communities.

How can I contribute?

Code Snippets is developed on GitHub. Bug reports, pull requests and translations are welcome.

How do I report a security issue?

Report suspected security vulnerabilities privately through the Patchstack Vulnerability Disclosure Program. Do not disclose vulnerability details in a public GitHub issue or support topic.

What is new in Code Snippets 4.0?

The free 4.0 release adds the Stats overview and fixes issues with snippet saving feedback, description truncation, Elementor compatibility and translation loading.

The free plugin also includes table and card views, code preview, HTML content snippets and optional file-based execution.

Pro 4.0 adds the AI Agent and snippet revisions, alongside its additional code types, conditions, permissions, Blueprints and connected Cloud tools. See the Pro section above for the current feature split.

Can I add HTML, CSS and JavaScript snippets?

The free plugin supports PHP snippets and HTML content snippets. Dedicated CSS and JavaScript snippet types, plus the additional Gutenberg and Elementor integrations, are available in Pro.

Do I need a Cloud account?

No account is required to create and run local PHP and HTML snippets. Community Cloud provides access to shared snippets from within the plugin. Personal Cloud library, synchronisation and connected Pro workflows require an account and the relevant Pro access.

Will I need to recreate my existing snippets after updating?

No. Updating the plugin does not require you to recreate your stored snippets. Back up your site and test your custom code when updating WordPress, your theme or other plugins. Compatibility still depends on the code you use and its dependencies.

Can I switch to an earlier plugin version?

Users with permission to update plugins can open Snippets > Settings > Advanced and use Switch Version to choose an available version. Use Refresh Versions if the list needs updating. Back up your site and export important snippets before switching versions.

Screenshots

  1. Managing local snippets in table view.
  2. Creating a PHP snippet in the code editor.
  3. Browsing local snippets in card view.
  4. Stats overview with snippet totals and breakdowns.
  5. Browsing Community Cloud snippets, with Pro-only items clearly marked.
  6. Importing snippet export files with duplicate-handling options.

Upgrade Notice

4.0.0

Adds the Stats overview and fixes saving feedback, description display, Elementor compatibility and translation notices. Back up your site before updating.

Install

composer require meteorgpl-plugin/code-snippets-pro

The vendor’s license checks are intact: activate the plugin in WordPress with a license key bought from the vendor.

License

The plugin declares no license. The code is redistributed under the license the vendor declared in the plugin’s own headers.

Artwork, fonts, media and documents that may be licensed separately are not redistributed; the licensing page explains what is replaced or removed, and the security tab lists it per version. Support and update entitlement come with the license you buy from the vendor.

Send feedback

What works, what does not, what is missing: a few words help.

Only if you would like a reply.

Taken in your browser, without this window. Passwords, what you typed into forms, keys and tokens are left out as grey blocks; you can hide more before sending. We keep screenshots for 90 days.

We store it with the page address, your language, window size, browser and IP address, and your e-mail address if you give one. The IP address and browser are deleted after 90 days. Privacy policy.

All languages