Code Engine is a snippets manager for WordPress site owners and developers who want a cleaner way to run custom PHP and JavaScript than pasting code into functions.php.
Snippets can run on the frontend, in the admin, on a schedule, or inside specific content, all organized in one dashboard with tags, search, and priorities. Beyond running code, it lets any function you write also be called as a tool, a workflow step, or an external endpoint.
The AI part relies on AI Engine, a separate Meow Apps plugin: when it is active, Code Engine can generate a snippet’s code, name, description, and arguments from a plain-English description, and it can expose your functions as tools that chatbots and AI agents call through function calling and MCP.
Results and generated code appear directly in the Code Engine dashboard under Meow Apps in wp-admin, and calling functions as AI tools requires AI Engine to be installed alongside it.
Powered by Fabio ChatBot
Is Code Engine yours?
Tell readers what is limited and unlimited in the free version, and what the AI does in your plugin. Help them decide faster and reach the people already looking at it. In return, you answer their questions.
Key Features of Code Engine
Organized snippet scopes. Snippets are stored by scope, including Persistent (runs everywhere), Frontend, Backend, Scheduled, and Content, so each piece of code only runs where it is meant to. Everything is searchable, taggable, sortable by priority, and can be imported or exported to move between sites.
AI-assisted snippet writing. With AI Engine active, you can describe a snippet in plain language and have the code, name, description, scope, and argument list generated for you. Existing code can also be modified from a prompt or completed from comments describing the intended behavior.
Functions as reusable building blocks. A Function snippet is a named, callable piece of code with typed arguments and defaults, which makes it reusable on demand rather than tied to one automatic trigger. This single definition is what can then be exposed as an AI tool, a workflow step, or a REST endpoint.
Functions as AI chatbot tools. When AI Engine is active, functions are registered through function calling and MCP so on-site chatbots and external AI agents can call them with real arguments during a conversation. This lets a chatbot perform actions on the site, such as looking up information, instead of only generating text.
Functions as workflow steps. With Workflow Engine installed, each active function appears as its own block in the workflow step picker, with one input per declared argument. Functions can be dragged onto the automation canvas and connected between other steps without writing separate integration code.
Secure REST endpoints. Any runnable snippet can be given a custom endpoint name and a bearer token, making it callable from tools such as Make, n8n, Zapier, or a scheduled cron job by sending arguments as JSON. Global snippets are restricted to whitelisted REST routes by default, with filters available to adjust that behavior.
Safe Mode and validation. If a snippet throws a fatal error, Safe Mode catches it and automatically disables that snippet so it cannot take down the site. PHP code also passes through a parser for validation before it is saved.
How to Install Code Engine
Step 1: Install the plugin. In the WordPress dashboard, go to Plugins > Add New Plugin, search for Code Engine, then click Install Now followed by Activate.
Step 2: Open Code Engine. Go to Meow Apps > Code Engine to reach the snippets dashboard and create your first snippet.
Step 3: Choose a scope and write code. Pick a scope such as Persistent, Frontend, Backend, Scheduled, or Function, then write the PHP or JavaScript in the built-in editor.
Step 4: Add AI Engine for AI features. Install and activate AI Engine if you want snippets written from plain-English descriptions or want functions callable as chatbot and agent tools.
Step 5: Add Workflow Engine for automation steps. Install and activate Workflow Engine if you want your functions to appear as draggable steps on a visual automation canvas.
Step 6: Expose functions externally if needed. For outside access, give a snippet a custom endpoint name and a bearer token, then call it via the plugin’s REST endpoint with arguments sent as JSON.
Good to Know About Code Engine
According to the plugin’s FAQ, Code Engine works as a standalone snippets manager without any other plugin, while AI Engine and Workflow Engine are optional and only add AI-assisted writing, AI tool exposure, and workflow steps when installed.
The developer notes that a Function differs from other snippets by being a named, callable piece of code with arguments that runs on demand, which is what allows it to be reused as an AI tool, workflow step, or REST endpoint. For safety, only whitelisted REST routes run global snippets by default, and site owners should only run code they understand and trust.
Download Code Engine on WordPress.org