Sign inBlogSupportContact
Custom Commands Module

Build your own WordPresssnippets and commands.

Stop hacking functions.php. Stop building throwaway plugins. Write PHP snippets in a proper editor, let AI generate them, or both. Run on demand, on a schedule, or chain into workflows.

14-day money-back guarantee Works with any theme or plugin Full PHP & JS editor built in
The Problem

Your custom logic lives in the wrong place.

You need a quick database cleanup. A custom report. A one-click deploy to staging. So you open functions.php, paste some raw PHP, cross your fingers, and refresh. Sound familiar?

Without Custom Commands
1
Open functions.php via FTP or file manager
2
Write raw PHP with no syntax highlighting or help
3
Save and pray you didn't break the site
4
No undo. No revision history. No rollback
5
No UI to trigger it. Hook into a page load or nothing
6
Clean up after yourself. Remove the code when done
High risk 30+ min per snippet No versioning
With Custom Commands
Write PHP and JS in a proper dual-pane editor
Or describe what you need and let AI write the code
Full revision history with diff viewer and one-click revert
Run it from the Navigator, or add it to a macro or schedule
Your code, managed properlyCreate, test, version, and trigger. All inside WordPress.
Safe 5 min to build Full history
AI-powered

Describe it. AI builds it.

Describe what you want in plain English. AI generates both the PHP handler and JS response. Review, tweak, save.

  • Describe the command behavior in natural language
  • AI generates both PHP and JavaScript code automatically
  • Set name, description, aliases, icon, and parameters upfront
  • Review and edit the generated code before saving
  • Works for simple tasks and complex WordPress integrations
Built-in code editor

PHP and JS, side by side.

Every command has two parts: PHP handler (server) and JS response (what the user sees). Write both in a split-pane editor with syntax highlighting and snippets.

  • Dual-pane layout: PHP handler and JS response side by side
  • Six themes, zen mode, minimap, built-in snippet templates
  • Response helpers: card(), badge(), kv(), chip() for formatted output
The Risk

The hidden cost of unmanaged snippets.

Every snippet in functions.php is a risk. No versioning, no rollback, no way to find it six months later.

To break a live site
functions.php has no undo, no diff, no rollback
Scattered across installs
functions.php, mu-plugins, throwaway plugins
Of edits are unversioned
functions.php tracks nothing. Every change is permanent.
$59/yr
One prevented outage pays for itself. And custom commands are just one of ten modules. See pricing
Version control

Every save, recorded.

Broke something? Undo it. Every time you save a custom command, a full revision is created automatically. Browse the history, compare side-by-side diffs, and revert to any previous version with one click. No git needed.

  • Automatic revision on every save. No manual commits
  • Side-by-side or inline diff viewer for PHP and JS
  • One-click revert to any previous revision
  • Navigate between changes with keyboard shortcuts
  • Full audit trail of who changed what and when
How it compares

Snippet plugins vs. Custom Commands.

If you've used a snippets plugin before, here's how Custom Commands is different.

Feature
Snippet plugins
Custom Commands
Execution
Runs on every page load
On-demand, scheduled, or via macro
Trigger
Automatic (hooks)
Navigator search, shortcut, cron, or startup
Output
None (runs silently)
Formatted cards, tables, badges in Navigator
AI generation
Revision history
Side-by-side diff
Parameters
Typed (text, number, select)
Cross-module integration
Macros, schedules, shortcuts
FAQ

Questions? Answered.

Can custom commands break my site?
Commands run in a sandboxed context. PHP syntax is validated before saving. Every edit creates a revision you can revert to. And you can disable any command instantly with a toggle.
How is this different from snippet plugins?
Snippet plugins run PHP on page load. Custom Commands are on-demand, triggered from the Navigator, a macro, a schedule, or a shortcut. Plus you get AI generation, a dual-pane editor, revision history, and parameters.
Can I share commands between WordPress sites?
Yes. Commands export as JSON files with all code, parameters, aliases, and settings. Import on any site running TrueCommander. Build once, deploy everywhere.
Can other users run my custom commands?
Yes. Any user with access to the Navigator can run enabled commands. TrueCommander's access control module lets you restrict which roles see the Navigator and which commands are available.
Ready?

Your WordPress snippets, under control.

Write it, version it, trigger it from anywhere. Your custom logic finally has a proper home.

14-day money-back guaranteeWe stand behind TrueCommander. If it's not the right fit within 14 days, request a refund through our support. Terms apply per our refund policy.
Cookies. The short version.

Essential cookies keep the cart and theme working. Analytics only fire if you say yes. Read our policy.