New on the blog: why AI belongs in the feed →

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. Works on any WordPress site; Gravity Forms isn’t required.

Start Free Trial

14-day free trial, no card

30-day refund guarantee

Secure checkout by Freemius

// === 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

Your Data Stays on Your Site

Entries are stored in your WordPress database; data leaves only for services you connect.

Try It Free

14 days, no card. After you buy, a 30-day refund guarantee.

Built on Gravity Forms

Configured like any feed, field or Flow step your team already uses in Gravity Forms.

Support from the Team That Builds It

Support is handled by the team that builds GravityOps.

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

14-day free trial, no card

30-day refund guarantee

Save with annual billing

From $49 a year for one site.

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

We build GravityOps.

BrightLeaf Digital builds GravityOps: 14 GravityOps plugins for Gravity Forms agencies. Our own code runs BrightLeaf Giving’s donation platform. About us

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.

WordPress 6.0 or higher and PHP 8.0 or higher. WordPress 6.9 or higher for the Abilities API (Premium and Agency). Gravity Forms isn’t required.

Yes. Every paid plan has a 14-day free trial, and you don’t need a card to start it.

A 30-day refund guarantee: if the plugin doesn’t work for your use case and we can’t fix it, we refund you in full. Refund policy

Yes. Pro and Premium cover 1 or 10 sites, and Agency covers 20. This plugin’s Agency plan isn’t white-labeled; the Agency bundle is.

If none of the plans fit, contact us about a custom license.

Use the support form, or Contact Us inside the plugin (GravityOps → Code Snippet Manager → Contact Us).

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.

Questions about GravityOps Code Snippet Manager?

Ask in GravityOps Help and tag your topic "snippet-manager". The team and other users answer there, usually within one business day.