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%
Mini Course Generator | Embed mini-courses and interactive content
After creating a mini-course on Mini Course Generator’s admin dashboard, you can use this plugin to embed it on your WordPress website easily in seconds. ✨ The only tool specialized for coaches, consultants, trainers, online course creators to create micro-learning journeys simply, and with the help of AI. Embed your mini-courses on your landing pages with a simple, customizable, and easily accessible UI/UX structure. Bring the power of interactive content to your WordPress website to share your know-how, keep your audience engaged, improve your landing page activity, make quizzes and surveys, collect emails, and get payment. Have a fully functioning landing page with your mini-courses embedded in it. This plugin is forever-free. Mini Course Generator has a forever-free plan, too. So, you can use a good portion of our services forever-free. ➡️ What is Mini Course Generator? Mini Course Generator is the go-to tool for professionals who’d like to create online courses without dealing with the complex features of macro course builders. LMS tools are great, however they can be frustrating and time-consuming if all you need is to create and deliver without thinking too much. We are the only tool specialized for coaches, consultants, trainers, online course creators to create micro-learning journeys simply, and with the help of AI. Our AI-Assistant makes content creation fast beyond imagination. See the video below for more information. ➡️ Who Can Use Mini Course Generator? Coaches Consultants Keynote Speakers Online course creators Trainers NGOs Education Institutions Entrepreneurs Customer Relations and After Sales Teams Human Resources Executives ➡️ What Can You Use Mini Course Generator For? You can use our tool if; 🎯 You want to create a lead magnet to collect emails from your audience. Mini-courses offer great upfront value! You can position them to grab the attention of your leads on your websites, blog pages, and socials. Collect emails and grow your mailing list with lower unsubscribe rates. Use our sign-up wall right in the middle of a mini-course to collect emails and automate subscriptions to your newsletter with webhooks. 🎯 You are looking for ways to nurture your leads and convince them for bigger offers. The biggest problem with email courses, eBooks, PDFs, or video links is they lack engagement and provide one-sided communication only. Besides that, the hesitancy to start is undeniable for the end user. Results? Emails are deleted before opening, eBooks are closed after the first page, and videos are watched for only a minute. Mini-courses are interactive, simple, and flexible. They are far better than eBooks. 🎯 You have a membership site. You can enrich your membership site with us. Mini-courses are great for creating content easily and fast. Create micro-learning materials with our simple and flexible structure, and embed them on your private pages with this plugin. 🎯 You offer workshops & coaching/consulting programs. With MCG, you can reinforce your programs with recaps & warmups. Create easy-to-digest, bite-sized series of easy-going tutorials for various educational purposes, like a follow-up to reinforce learning, preparatory activities, etc. Micro-learning dripping is the cure for shrinking attention spans. A mini-course takes so little time and effort to both create and consume. Kill the hesitancy to start something new, create quick wins, and give a sense of achievement in a short time. Keep people coming back to your website! 🎯 You are a content creator and want to repurpose your existing content. Creating high-quality content needs significant time. Once you finalize, it is the best strategy to get the most out of it by repurposing. For instance, if you have created an engaging podcast, why not get its transcription and divide it into a series of mini-courses to embed on your WordPress website? Build mini-courses by repurposing social posts, youtube videos, or podcasts to gain new followers on for your website. 🎯 You are an executive coach and you’d like to start monetizing your content targeting individuals. Experienced professionals working on B2B level can get frustrated with macro course builders even before getting started with B2C teaching. Mini-courses are the best option to dive into B2C market and get paid for your know-how with easy Stripe integration. Monetize your know-how through mini-courses and mini-course collections. 🎯 You run a community and conduct educational programs to build engagement. Presenting a mini-course on a regular basis allows you to keep your audience engaged with your organization. This is the power of interactive content in micro-learning. Especially suitable for NGOs. 🎯 Part of your job is to educate customers and new employees. As mini-courses are interactive and easy-to-follow, there is no better thing than a mini-course for onboarding programs. If you’re an after sales representative, or responsible for the education of new employees; you can create mini-courses. It is a more engaging and effective way to educate than booklets, manuals or eBooks, and also a more cost-effective tool than macro-cost builders to use for this purpose. ➡️ Features of Mini Course Generator Easy embed with this plugin. AI-Assistant for fast content creation. Uploading countless images and videos. Embedding media from any source including YouTube, Spotify, Vimeo, etc. Stripe integration to get payment. Password protection, wholly or partially. Collecting emails with signup wall. Integrations with other tools via webhooks and workflows, including mailing platforms and Google Spreadsheets. Fully customizable interfaces to reflect your branding choices. Customizing share links by adding custom domains. SEO-friendly settings. Analytics report for each mini-course to track end-user activity. Creating collections of mini-courses. Please Note: Collections cannot be embedded with this plugin -yet- but they can be embedded on any website easily with .js codes. ➡️ Additional Benefits Mini Course Generator is an online course creation tool at micro level. Yet, you can use its features for several other purposes such as: A payment gateway with our Stripe integration. Apart from the commission cut of Stripe, we do not have an additional cut from what you earn with it. A form tool. If you need to collect information from your clients, and do not want to invest in expensive form tools, you need to try MCG. You can have unlimited number of questions in a mini-course. A quiz tool. You can have countless single/multiple correct answer quiz questions in a mini-course. After a mini-course, you can display scores and conditional messages based on score. This way you can build a stronger funnel with personalized and targeted communication. ➡️ How to use Mini Course Generator? A mini-course is formed of content cards, added one after another. There are several content cards available at Mini Course Generator: info cards, quizzes, surveys, input cards, star ratings, gateways with emails, passwords, payment, and also several completion cards for personalized and targeted communication. ➡️ Create with super simplicity Add various content cards one after another and form a mini-course in minutes! You can also create collections of mini-courses to serve your content in a bundle. Do not forget to customize the view according to your branding. ➡️ Embed and impress with super simplicity Use this plugin to embed your mini-courses to your WordPress website. You can embed collections with .js tools as well. ➡️ How to use the plugin? This plugin generates a shortcode of your mini-course for you, which you can use to embed with the shortcode element. Embedding with shortcode on Elementor is shown in the 4-min tutorial below. After you install the plugin; Activate it. Click “settings” and login to your Mini Course Generator account. You will see your mini-courses as a list. Copy the shortcode of the one you’d like to embed. Go to your webpage, add “shortcode” element to the relevant place and paste the code you’ve copied earlier. You’re done!