Code Engine – PHP Snippets, AI Functions & Automation for WordPress
Code Engine is a snippets manager that doesn’t stop at snippets. Yes, it runs your PHP and JavaScript exactly where and when you want: frontend, backend, on a schedule, or inside your content. But its real magic is what happens after you write a function: the same little piece of code instantly becomes a tool your AI chatbots can call, a step you can drag into a visual workflow, and an endpoint the outside world can trigger. One function, three superpowers. Most “code snippets” plugins stop at a textarea and a toggle. Code Engine treats your functions as first-class building blocks for the whole Meow Apps ecosystem, and for anything that can speak REST. Think out of the box, let your creativity flow, because the possibilities really are endless! ✨ For more, check the official website and come say hi on the Discord. Quick Intro Hello! ☀️ I built Code Engine because I was tired of pasting mystery snippets into functions.php and praying. I wanted a place where small bits of code are organized, safe, AI-assisted, and reusable everywhere. Here’s the idea. You write a function (or let the AI write it for you from a plain-English description). That function immediately shows up in three places: AI Engine: your chatbots and MCP clients (Claude, ChatGPT, Claude Code) can call it as a tool, with real arguments. Ask “how many orders shipped today?” and your chatbot runs your function to answer. Workflow Engine: your function appears in the step picker as its very own block. Drag it onto the canvas, wire it between an AI step and a Slack step, done. No glue code. REST / External tools: give it a secure endpoint and a token, then trigger it from Make.com, n8n, Zapier, a cron job, or a webhook. You never wrote an “integration.” You just wrote a function. Code Engine did the rest. 🤝 Core Modules 🧩 Snippets Manager Backend, Frontend, Persistent, Scheduled, Functions, and in-content (PHP/JS) snippets, all in one clean dashboard with tags, search, scope filters, and priorities. 🪄 AI-Assisted Coding Describe what you want in plain English and let AI Engine write the snippet: code, name, arguments, and scope included. Refine existing code or implement it straight from your comments. 🤖 Functions as AI Tools Every Function snippet becomes a function-calling tool and an MCP tool, so your AI Engine chatbots (and external AI agents) can actually do things on your site, not just talk. 🔀 Functions as Workflow Steps Workflow Engine surfaces each of your functions as its own draggable step. Your custom logic becomes a first-class citizen on the automation canvas. 🌐 External Access (REST) Expose any runnable snippet through a secured REST endpoint with a bearer token. Perfect for Make.com, n8n, webhooks, and scheduled external jobs. 🛡️ Safe Mode A snippet that throws a fatal error is automatically caught and disabled before it can take your site down. Code with confidence. ⏰ Scheduling Run a snippet daily at a chosen time via WP-Cron (reports, cleanups, syncs) without touching the server crontab. 🧱 Code Blocks & Shortcodes (Pro) Drop PHP or JS straight into a post or page with a Gutenberg block or the [code-engine] shortcode, with safety guards. 🧩 Snippets, the way they should be Code Engine organizes your code by scope, so each snippet runs exactly where it belongs: Persistent: runs everywhere (frontend and backend). Your everyday “add this to functions.php” code, but managed. Frontend: runs only on the public site. Backend: runs only in the admin. Function: a named, callable function with typed arguments and defaults. This is the reusable building block (see below). Scheduled: runs on a WP-Cron schedule, at the hour and minute you pick. Content (PHP / JS): runs inside a specific post or page, via a Gutenberg Code Block or the [code-engine] shortcode (Pro). Everything is searchable, taggable, sortable by priority, and importable/exportable. The CodeMirror editor gives you proper syntax highlighting and keyboard shortcuts (Cmd+S to save, Cmd+Enter to run). A nikic/php-parser pass validates your PHP before it ever runs. 🪄 Let AI write it for you Don’t feel like writing the boilerplate? Describe the snippet in plain language and Code Engine, powered by AI Engine, generates the whole thing: the code, a sensible name, a description, the right scope, and, for functions, the argument list with names, types, and defaults. Already have code? Ask the AI to modify it from a prompt, or write a few comments describing what you want and let it fill in the implementation. It’s pair programming, right inside your dashboard. ✨ The big idea: write once, use everywhere This is what makes Code Engine different. A Function snippet is not just code you call from other code. It’s a reusable capability that the rest of your stack can plug into. The moment you save it, the same function is available in three places at once: 1. As an AI tool, for chatbots and AI agents With AI Engine active, your functions are exposed through function calling and over MCP (Model Context Protocol). Your on-site chatbot can run them mid-conversation, and external AI agents (Claude, Claude Code, ChatGPT, OpenClaw) can call them too. Want a chatbot that checks stock, looks up a booking, or kicks off a process? Write the function; the chatbot gains the skill. 2. As a workflow step, for automation With Workflow Engine, every active function shows up in the Add-step picker as its own block, named after your snippet, with one input per argument. Drag it onto the canvas and wire it between other steps: an AI step that summarizes, your function that saves, a Social Engine step that posts. There’s also a generic “Execute snippet (by ID / by name)” step when you want to call one dynamically. You never write integration code; your function is the integration. 3. As a REST endpoint, for the outside world Give a snippet a custom endpoint name and a bearer token, and it’s instantly callable from anywhere: POST /wp-json/code-engine/v1/snippets-endpoint/your-endpoint Pass arguments as JSON in the body, secure it with a token, and trigger it from Make.com, n8n, Zapier, GitHub Actions, or a humble cron job. Automation without a middleware bill. 🛡️ Safe by default Running arbitrary code is powerful, so Code Engine takes safety seriously: Safe Mode catches fatal errors and auto-disables the offending snippet, so a typo never white-screens your site. REST whitelisting means global snippets only run on trusted REST routes by default, so you choose what to open up. Per-snippet tokens secure your external endpoints. Validation with a real PHP parser before code is saved. For developers who want fewer guardrails, there’s a “Bypass REST Security” option and filters (mwcode_rest_authorized, mwcode_rest_whitelist) to tailor exactly what’s allowed. Works beautifully with the Meow Apps family Code Engine is one engine in a connected set, each one useful alone, magical together: AI Engine: chatbots, content generation, and MCP. Turns your functions into AI tools. Workflow Engine: visual automation. Turns your functions into draggable steps. SEO Engine: smart, lightweight AI SEO. Social Engine: schedule and automate social posts. Why Code Engine? Reusable, not throwaway Other snippet plugins give you a place to paste code. Code Engine gives you a place to build capabilities that your AI, your workflows, and your external tools can all use. Native to WordPress Clean, fast, and built the WordPress way. No clunky external dashboards, no bloat. AI-native Write snippets with AI, expose them to AI. The whole loop lives in your wp-admin. Developer friendly REST API, MCP tools, function calling, scheduling, import/export, and plenty of filters to hook into. Cared for Part of the Meow Apps family, with regular updates and a real human behind it. 💕
Top keywords
- code32×2.48%
- engine25×1.94%
- ai22×1.71%
- function18×1.40%
- rest13×1.01%
- snippet13×1.01%
- code engine11×0.85%
- functions11×0.85%
- write10×0.78%
- runs9×0.70%
- snippets9×0.70%
- step9×0.70%
Generatify – All-in-One Artificial Intelligence (AI)
Generatify is an all-in-one plugin that brings Artificial Intelligence (AI) superpowers to WordPress. It includes a context-aware AI Assistant Chatbot that understands your site’s content and settings, an AI Helpdesk Agent for instant support, automation for tags, categories, FAQs, and SEO metadata, smart compose & autocomplete, comment moderation, and AI-driven related content—all configurable from a single, streamlined interface. 👉 Learn more about Generatify — full feature tour, screenshots, documentation and Pro pricing. 🤖 Turn Your Site into an AI-Powered Experience AI Assistant Chatbot – A context-aware WordPress copilot that knows your site’s content and setup. It helps write and rewrite on-brand copy, translates text, brainstorms ideas, and explains or troubleshoots errors step-by-step, right in your WordPress dashboard. Automations – Auto-tag and auto-categorize posts, generate FAQs, fill in missing meta descriptions, and add meaningful image alt text—hands-off but always under your control. Customer Service Agent – A site-wide chat button that uses your site knowledge to answer FAQs, routes your customers, and collects messages. Smart Suggestions – Inline autocomplete and smart compose for forms and textareas to speed up writing and reduce friction. Related Content – AI-powered related posts/products that keep readers exploring. AI Moderation – Detect toxic or hateful comments and prevent submission before it reaches your queue. Model Connectors – Seamless connectors for OpenAI (ChatGPT), Anthropic (Claude), Google (Gemini) as AI providers. 🧭 Built For Real Workflows No Coding Required: Simply turn features on/off, and customize prompts in a few clicks. High Quality: The plugin is built with a modular design, ensuring fast, reliable performance without frequent bugs and failures. Support: Get support in the support forum from friendly professionals ready to answer your questions. 🗝️ What’s Inside Generatify includes a rich set of features that plug into your existing WordPress stack and editorial flow: AI Assistant Chatbot (Copilot) Context-Aware – Knows your site’s posts, pages, products, plugins, themes and even users for grounded responses. Does The Work – Drafts and updates posts, sets categories, tags and featured images, moderates comments and adjusts settings, instead of telling you where to click. Builds Things – Reads and writes files under wp-content, so it can build a small plugin, add a child theme snippet or patch a template, and switch plugins on and off. Mentions & Attachments – Type @ to pull a page, post or person into the conversation, or attach an image, PDF or CSV as context. On-Brand Writing – Draft, rewrite, summarize, translate, and ideate with style guidelines you define. Image Generation – Draws an image from a description, saves it to the media library and can set it as a post’s featured image in one step. Troubleshooting – Explains common site or plugin errors in plain language with step-by-step suggestions. AI Content Automation **AI Content Generation ** – Writes the title, content, featured image, tags and categories of a post from a short brief. AI Technical SEO Automation AI Alt Images – Adds meaningful alt text to images with empty alt attributes. AI Meta Descriptions – Generates meta descriptions for posts missing them, tuned for clarity and CTR. AI Agents Page Agent – AI copilot for your users that navigates and interacts with your website in real-time. Helpdesk Agent – Chats with your users and provides accurate responses based on your website’s content. Browser AI Tools (WebMCP) – Publishes your site to AI agents built into the visitor’s own browser, so they can search your content and your WooCommerce store on your visitor’s behalf. AI Smart Suggestions AI Smart Compose – Predicts and suggests text in real time for textareas. AI Related Posts – Displays semantically related posts at the end of each post. AI Comment Moderation AI Toxicity Checker – Detects toxic/hateful language and stops submission with a helpful notice. AI Provider Connectors Top AI Models – One-Click connectors for ChatGPT (OpenAI), Claude (Anthropic), and Gemini (Google). Auto Model Selection – Generatify automatically chooses the best AI model for particular task. 🚀 Upgrade to Generatify Pro The free version gives you the page and helpdesk agents, smart compose, related posts, content summaries, toxicity checking and AI alt text. Generatify Pro connects it all to the frontier models and unlocks the heavy lifting: AI Provider Connectors – Plug in ChatGPT (OpenAI), Claude (Anthropic), Gemini (Google) and Kimi (Moonshot) with your own API keys, and let Generatify pick the best model per task. AI Assistant Chatbot – The full context-aware WordPress copilot in your dashboard: writes, rewrites, summarises, translates and troubleshoots using your actual posts, pages, products, plugins and themes as context, and acts on what it finds — drafting posts, generating images, editing files, building small plugins and changing settings, with anything destructive or public shown to you first. AI Content Generation – Turn a short brief into a complete post: title, body, featured image, categories and tags, straight from the block editor. AI Meta Descriptions – Automatically generate meta descriptions for posts that are missing them, tuned for clarity and click-through. Advanced Helpdesk Agent – Popular topics on the home screen plus contact and conversation modes so the agent can collect and reply to messages. Every Advanced Setting – All prompts, knowledge sources and fine-grained controls unlocked. Priority Support – Direct help from the team instead of the public support forum. Simple Pricing – Pro is $29.99 for Generatify on its own, or become a DaftPlug Pro member and get every one of our All-in-One Pro plugins in a single membership at daftplug.com/pricing. See everything in Generatify Pro → 🌐 Fully Translatable Generatify supports multiple languages, RTL layouts, and custom typography. It’s fully translatable via POT files (Poedit, Loco Translate) and compatible with WPML, Polylang, TranslatePress, Weglot, and more. 🔌 Compatible With All Themes & Plugins Works out-of-the-box with common WordPress setups, including blogs, membership sites, WooCommerce stores, forums, portfolios, LMS, and news portals. No special theme required. External Services This plugin connects to external services to provide AI features and other functionality. Below is a complete list of the services, what they do, when they are used, and what data may be transmitted. OpenAI API (api.openai.com) Purpose: Power advanced AI features that require text generation. What is sent and when: When a corresponding feature is enabled and invoked, the plugin sends the prompt and relevant context (e.g., post excerpts, user inputs, system instructions) to OpenAI for processing. Your server/browser contacts OpenAI’s API with your configured API key. Provider: OpenAI. Terms: https://openai.com/policies/terms-of-use — Privacy: https://openai.com/policies/privacy-policy Anthropic API (api.anthropic.com) Purpose: Power advanced AI features that require text generation. What is sent and when: When a corresponding feature is enabled and invoked, the plugin sends the prompt and relevant context (e.g., post excerpts, user inputs, system instructions) to Anthropic for processing. Your server/browser contacts Anthropic’s API with your configured API key. Provider: Anthropic. Terms: https://www.anthropic.com/legal/terms-of-service — Privacy: https://www.anthropic.com/legal/privacy Google Gemini API (generativelanguage.googleapis.com) Purpose: Power advanced AI features that require text generation. What is sent and when: When a corresponding feature is enabled and invoked, the plugin sends the prompt and relevant context (e.g., post excerpts, user inputs, system instructions) to Google for processing. Your server/browser contacts Google’s API with your configured API key. Provider: Google. Terms: https://ai.google.dev/terms — Privacy: https://policies.google.com/privacy TensorFlow Hub (tfhub.dev) Purpose: Provides downloadable machine learning model files used by some on-device/browser-side features (e.g., the MobileNet model referenced in the plugin’s frontend assets). What is sent and when: When a feature that uses these models is enabled and loaded, the visitor’s browser downloads the required model files from tfhub.dev. No plugin-specific personal data is intentionally sent as part of that request; however, as with any standard web request, the visitor’s IP address and user agent are sent by the browser. Provider: Google. Terms: https://policies.google.com/terms — Privacy: https://policies.google.com/privacy