GravityOps Code Snippet Manager: Snippets You Can Version, Configure and Trust

Run PHP, JavaScript, CSS and HTML snippets from real files, not eval(). Keep per-site settings out of the code, and keep every site current from your own GitHub repository.

Start Free Trial

Free Trial

30-Day Refund

Secure checkout

// === BEGIN CONFIG ===
$form_id   = 12;
$notify_to = 'ops@example.com';
// === END CONFIG ===
↓
  • Entry approval email — from fileActive
  • Hide price field — GitHubUpdate ready
  • Security scan — 0 findingsClean

Real Files, Not eval()

Active PHP snippets are written to files, checked against a hash and loaded with require_once. You get OPcache, real stack traces, and code your security scanner can actually see.

Settings That Survive Updates

Form IDs, URLs and messages live in a config block, stored apart from the code. Update the snippet and every site keeps its own values.

GitHub as the Source of Truth

Track a public or private repository. Review every change before it reaches your site, or let safe updates apply on their own.

Crash Protection Built In

Syntax is checked before anything is written. If a snippet causes a fatal error, it is switched off and the rest of your site keeps running.

The Snippet Manager Built for People Who Ship Code

Stop copying snippets between sites by hand and hoping every copy is current. GravityOps Code Snippet Manager keeps your code in GitHub, your settings on each site, and your snippets running from real files.

How It Works

Get GravityOps Code Snippet Manager Running in 3 Simple Steps

1

Install or Import

Install and activate the plugin. Bring your existing snippets over from Code Snippets in one step, or import JSON or PHP files.

2

Add Snippets or a Collection

Write snippets in the editor, or connect a GitHub repository as a collection. Fill in each snippet’s configuration panel for this site.

3

Review and Update

When the repository changes, you see exactly what changed, with risky code flagged. Apply the update in one click, or let safe updates apply automatically.

features

6 Features That Make GravityOps Code Snippet Manager Update-Safe

File-Based Execution

PHP snippets run from generated files, verified by hash before loading. JavaScript and CSS load as real files, and HTML goes in the head, body or footer, or anywhere with a shortcode or block.

Config Blocks

Declare configurable values at the top of a snippet. Each site fills them in from a settings panel, and updates never overwrite them.

GitHub Collections

Track public or private repositories. Check for updates, review the changes and apply them, or let updates without warnings apply automatically.

Security Scan on Every Save

Flags eval(), shell commands, obfuscated code and hard-coded credentials such as API keys, with line numbers. PHP is checked token by token, so strings and comments never trip it.

Revisions, Folders and Tags

Every save is a revision you can compare and restore, config values included. Organize snippets into folders, with a dashboard widget and a toolbar menu.

Crash Protection and Safe Mode

Layered error handling catches failures and switches off only the snippet responsible. A safe-mode kill switch gets you back in whenever you need it.

Why Us

Why Choose GravityOps Code Snippet Manager

Safe and Secure

Purchase your license safely and securely in seconds via Freemius.

Risk-Free Trial

Try the full plugin free for 14 days with no restrictions or a credit card required.

Built by Gravity Forms Experts

Developed by passionate Gravity Forms developers with years of experience creating powerful, reliable add-ons.

Support from Real People

Get help from trained and experienced WordPress and Gravity Forms experts — when you need it.

GravityOps Code Snippet Manager

One library.
Every site. Always current.

your-org/snippets → every site

Use Cases

GravityOps Code Snippet Manager in Practice

Keep a large library of custom snippets up to date: put them in a GitHub repository, and every site that tracks it is told when a snippet changes, so no copy quietly falls behind. That matters most across many sites, where an agency runs one library on dozens of client sites and each site keeps its own form IDs and settings in config blocks. Developers review snippet changes in pull requests before they reach production. Gravity Forms customizations move from staging to live without editing hard-coded IDs. And sites on strict hosts run snippets from files, with no eval() for security tools to block.

Pricing

Pricing for GravityOps Code Snippet Manager

Free trial on individual plugins

30-day money-back guarantee

Annual Subscription Discount

Save up to 18%
Pay monthly Pay annually

Pro

—
per year
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • Use on up to — live sites
Best Value

Premium

—
per year
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • GitHub snippet libraries
  • Private GitHub repositories
  • Automatic snippet updates
  • AI & MCP management
  • Use on up to — live sites

Agency

—
per year
Up to 20 Sites
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • GitHub snippet libraries
  • Private GitHub repositories
  • Automatic snippet updates
  • AI & MCP management
  • Use on up to — live sites
Save up to 18%
Pay monthly Pay annually

Pro

—
per year
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • Use on up to — live sites
Best Value

Premium

—
per year
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • GitHub snippet libraries
  • Private GitHub repositories
  • Automatic snippet updates
  • AI & MCP management
  • Use on up to — live sites

Agency

—
per year
Up to 20 Sites
  • PHP, JavaScript, CSS & HTML snippets
  • Configuration panel
  • Revision history with side-by-side diff
  • Visual page targeting
  • Folders, tags & bulk actions
  • Crash protection & safe mode
  • File-based execution with integrity checks
  • Import, export & Code Snippets migration
  • GitHub snippet libraries
  • Private GitHub repositories
  • Automatic snippet updates
  • AI & MCP management
  • Use on up to — live sites

Comparison

GravityOps Code Snippet Manager vs Code Snippets

Code Snippets is the most popular snippet plugin for WordPress, and it covers the basics well. GravityOps Code Snippet Manager is built for people who manage many snippets across many sites: code that runs from files, settings that survive updates, and a GitHub repository as the source of truth.

Feature

GravityOps Code Snippet Manager

Code Snippets

PHP execution

Real .php files by default, hash-checked and cached by OPcache

Stored in the database and run with eval() by default; file mode is optional

Debugging

Real file paths and line numbers in errors and stack traces

“eval()’d code” in errors unless file mode is turned on

Security hardening

No eval() in normal use, and snippet code is visible to file scanners

eval() path by default

Crash protection

Syntax checked before saving; the failing snippet is switched off automatically

Safe Mode

Per-site settings

Config blocks, stored apart from the code

Edit the code on each site

Version control

Your own GitHub repository, public or private

Their cloud library

Keeping sites up to date

Update checks, reviewed changes and optional auto-update

Cloud sync (Pro)

Security scan

On every save, including hard-coded credentials

Advisory checks (Pro)

Revisions

Compare and restore, config values included

Compare and restore (Pro)

Organization

Folders, dashboard widget, toolbar menu and tags

Tags

AI assistants

WordPress Abilities API, works with any assistant (Premium)

Built-in AI agent (Pro)

Migration

One-step import from Code Snippets

—

About Us

BrightLeaf Digital

The Gravity Forms Ecosystem, Reimagined.

BrightLeaf Digital streamlines the Gravity Forms ecosystem by replacing fragile external integrations with native WordPress power.

We build focused plugins that eliminate the need for third-party middleware and expensive SaaS dependencies. Our tools transform your site into a robust operational engine for email, automation, and workflow management.

Designed for businesses and agencies, we prioritize long-term maintainability over technical sprawl and marketing bloat. We believe in “WordPress-first” architecture that keeps your data secure and your systems simple.

With BrightLeaf Digital, you get durable, high-leverage solutions without artificial limits or unnecessary dashboards.

Frequently Asked Questions

Snippets from files, settings that survive updates, and GitHub as the source of truth. Got questions about migrating, hosting or plans? Here are the answers.

No, but every plan starts with a free 14-day trial. If your license lapses, your snippets keep running. You just stop receiving plugin updates and support until you renew.

Yes. GravityOps Code Snippet Manager imports straight from Code Snippets on the same site, or from a Code Snippets export file. You can also import JSON or PHP files.

Turn on eval fallback mode. PHP snippets then run through eval() so they keep working, and each one is marked so you know. JavaScript and CSS are still written as files.

Yes, on Premium and Agency. Add a read-only GitHub token to wp-config.php and you can track private repositories as well as public ones. The token never touches the database or the admin screens.

No. Values in a snippet’s config block are stored separately from its code, so an update brings in the new code and keeps your values.

Yes. Network activation sets it up on every site, and each site keeps its own snippets.

Yes, on Premium and Agency with WordPress 6.9 or later, through the WordPress Abilities API. Writing new code this way stays off unless you allow it in wp-config.php.

Yes, you can start a free trial right away. Just add your payment details (you won’t be charged until the trial ends). Cancel anytime, and you can even set a reminder before it turns into a paid plan. Check the pricing section above for more.

Of course! If none of our standard plans quite fit your needs, just get in touch with support, and we’ll happily discuss a custom option for you.

Yes, absolutely! With Freemius, you can easily hide sensitive billing and account details on your client sites.

Why Choose

Why It’s Better

Snippets are code, and code belongs in version control. GravityOps Code Snippet Manager keeps your library in GitHub, your settings on each site, and your snippets running from real files you can debug, cache and scan.