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.
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?
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
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 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.
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
Snippet plugins vs. Custom Commands.
If you've used a snippets plugin before, here's how Custom Commands is different.
Questions? Answered.
Your WordPress snippets, under control.
Write it, version it, trigger it from anywhere. Your custom logic finally has a proper home.