Sign inDocsBlogAboutSupportContact
Custom Commands Module

Build your own WordPress snippets 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 supported WordPress setups Local PHP & response-JavaScript syntax colors

Interface examples use sample data. Results, counts, and timing vary by site and configuration.

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 PHP and response-JavaScript editor
Or describe what you need and let AI write the code
Full revision history with diff viewer and one-click revert
Review, enable, then run it, or add it to a macro or schedule
Your code, managed properly Create, 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.

Create PHP handlers and optional response JavaScript in the local fixed dark editor. PHP and JavaScript syntax colors are bundled locally. Code, Parameters, Returns, and Aliases have dedicated tabs; editing also exposes Revisions. There is no full language service or theme picker.

  • Dedicated Code, Parameters, Returns, Aliases, and Revisions views
  • Fixed dark editor, local syntax colors, protected templates, and revision controls
  • 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 saved revisions, and revert to any previous version with one click. No git needed.

  • Automatic revision on every save. No manual commits
  • Revision comparisons for PHP and response JavaScript
  • 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
Revision comparison
Parameters
Typed (text, number, select)
Cross-module integration
Macros, schedules, shortcuts
FAQ

Questions? Answered.

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 guarantee We 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.