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%
KokobeoChat – AI Live Chat, Chatbot & Multi-Channel Support Widget
Trademark notice: WhatsApp, Messenger, and Instagram are trademarks of Meta Platforms, Inc. KokobeoChat is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc. KokobeoChat is the easiest way to add live chat, AI support and multi-channel messaging to your WordPress site. Connect with your visitors in real time, automate responses with a self-learning AI, and let customers reach you on their favorite channel: Live Chat, WhatsApp, Messenger, Instagram, or Email — all from one single widget. Trusted by businesses in 24 countries and available in 14 languages, KokobeoChat combines the power of human operators with AI automation — so you can provide 24/7 support without hiring a 24/7 team. 🚀 Why choose KokobeoChat? Free plan forever — no credit card, no hidden fees, no time limit Paid plans with 15-day free trial — try Pro and Business risk-free 14 languages supported — auto-detects visitor language AI that learns over time — the more your visitors chat, the smarter the assistant becomes. Every conversation enriches the AI memory so replies get more accurate and personalized Multi-channel widget (Pro & Business) — WhatsApp, Messenger, Instagram, Email in one bubble Real-time translation — operators reply in their language, customers read in theirs Unlimited chats even on the free plan Setup in 60 seconds — install, enter API key, done Mobile-ready — fully responsive on every device GDPR compliant — data stays private, full privacy controls No ads — your site, your chat, your brand Multi-operator — add your team, distribute conversations Guided onboarding — clear Register / Login / Support buttons right inside the plugin settings ✨ Key Features For visitors: * Beautiful chat widget that fits any theme * Works on mobile, tablet and desktop * Voice messages and file sharing (Pro plans) * Offline forms when operators are not available * Instant answers from the AI Brain * Multi-channel selector — pick Live Chat, WhatsApp, Messenger, Instagram or Email For you: * Real-time dashboard at chat.kokobeo.com * Self-learning AI Brain — the knowledge base grows automatically with every chat. The more visitors you get, the more accurate and personalized the AI replies become * Analytics and conversation history * Operator routing and team management * Email notifications and Slack integration (coming soon) * Chat history export For global businesses: * 14 languages: English, Italian, Spanish, French, German, Portuguese, Dutch, Polish, Russian, Chinese, Japanese, Arabic, Turkish, Czech * Automatic language detection from the visitor browser * Messages translated on-the-fly between operator and customer 🌐 Multi-Channel Widget (Pro & Business plans) Give your visitors the freedom to choose how they contact you. The KokobeoChat widget supports 5 channels in one bubble: Live Chat — always on, real-time operator reply WhatsApp — one tap opens WhatsApp with your pre-filled welcome message Facebook Messenger — direct link to your Facebook page inbox Instagram — direct message to your Instagram business account Email — fallback with pre-filled subject, works with Gmail, Outlook, Yahoo, Apple Mail, ProtonMail All channels are configured from your KokobeoChat admin dashboard in seconds. Toggle what you want, add your phone number or username, save — and your widget updates live. This feature is available on the Pro (€29/month) and Business (€79/month) plans. Live Chat alone remains fully free forever. 💼 Plans & Pricing Free — €0 forever / Unlimited widgets, 500 chats/month, 1 operator. No credit card needed. Pro — €29/month with 15-day free trial / Unlimited chats, 5 operators, AI Brain with self-learning memory, multi-channel widget, analytics Business — €79/month with 15-day free trial / Everything + priority support, unlimited operators, custom branding Both Pro and Business plans include a 15-day free trial — no credit card required to start. Upgrade or cancel anytime. 🎯 Perfect for E-commerce stores (WooCommerce, Shopify) Service businesses and professionals Agencies and freelancers SaaS companies Any WordPress site that needs customer support 🔒 Privacy & Security KokobeoChat is fully GDPR compliant. We do not sell or share data with third parties. All chat data is encrypted in transit and at rest. Read our full policy at https://chat.kokobeo.com/privacy.html Descrizione (Italiano) KokobeoChat è il modo più semplice per aggiungere una live chat professionale, un assistente AI e un widget multicanale al tuo sito WordPress. Connettiti con i visitatori in tempo reale, automatizza le risposte con l’intelligenza artificiale e lascia che i clienti ti contattino dal loro canale preferito: Live Chat, WhatsApp, Messenger, Instagram o Email — tutto da un unico widget. Utilizzato da aziende in 24 paesi e disponibile in 14 lingue, KokobeoChat unisce la potenza degli operatori umani con l’automazione AI — così puoi offrire supporto 24/7 senza dover assumere un team 24/7. Perché sceglierlo: * Piano gratuito per sempre, nessuna carta richiesta * Piani Pro e Business con 15 giorni di prova gratuita * 14 lingue con rilevamento automatico * Widget multicanale (Pro & Business) — WhatsApp, Messenger, Instagram, Email in un’unica bolla * AI che impara nel tempo — più i visitatori chattano, più la memoria dell’assistente si arricchisce * Traduzione in tempo reale tra operatore e cliente * Installazione in 60 secondi * Pienamente conforme al GDPR * Multi-operatore per gestire il team Piani: Free €0 per sempre · Pro €29/mese · Business €79/mese (entrambi con trial 15 giorni, nessuna carta richiesta) Descripción (Español) KokobeoChat es la forma más fácil de añadir un chat en vivo profesional, un asistente de IA y un widget multicanal a tu sitio WordPress. Conecta con tus visitantes en tiempo real, automatiza respuestas con inteligencia artificial y deja que los clientes te contacten desde su canal favorito: Live Chat, WhatsApp, Messenger, Instagram o Email — todo desde un único widget. Utilizado por empresas en 24 países y disponible en 14 idiomas, KokobeoChat combina la potencia de operadores humanos con automatización AI — así puedes ofrecer soporte 24/7 sin necesidad de un equipo 24/7. Por qué elegirlo: * Plan gratuito para siempre, sin tarjeta requerida * Planes Pro y Business con 15 días de prueba gratuita * 14 idiomas con detección automática * Widget multicanal (Pro & Business) — WhatsApp, Messenger, Instagram, Email en una sola burbuja * IA que aprende con el tiempo — cuanto más chatean tus visitantes, más se enriquece la memoria del asistente * Traducción en tiempo real entre operador y cliente * Instalación en 60 segundos * Totalmente conforme al RGPD * Multi-operador para gestionar tu equipo Planes: Free €0 para siempre · Pro €29/mes · Business €79/mes (ambos con prueba de 15 días, sin tarjeta requerida) Description (Français) KokobeoChat est la façon la plus simple d’ajouter un chat en direct professionnel, un assistant IA et un widget multicanal à votre site WordPress. Connectez-vous avec vos visiteurs en temps réel, automatisez les réponses avec l’intelligence artificielle et laissez les clients vous joindre depuis leur canal préféré : Live Chat, WhatsApp, Messenger, Instagram ou Email — tout depuis un seul widget. Utilisé par des entreprises dans 24 pays et disponible en 14 langues, KokobeoChat combine la puissance des opérateurs humains avec l’automatisation IA — offrant un support 24/7 sans équipe 24/7. Pourquoi le choisir: * Plan gratuit pour toujours, sans carte bancaire * Plans Pro et Business avec 15 jours d’essai gratuit * 14 langues avec détection automatique * Widget multicanal (Pro & Business) — WhatsApp, Messenger, Instagram, Email dans une seule bulle * IA qui apprend avec le temps — plus vos visiteurs discutent, plus la mémoire de l’assistant s’enrichit * Traduction en temps réel entre opérateur et client * Installation en 60 secondes * Entièrement conforme au RGPD * Multi-opérateur pour gérer votre équipe Plans: Free €0 pour toujours · Pro €29/mois · Business €79/mois (les deux avec essai 15 jours, sans carte requise) Beschreibung (Deutsch) KokobeoChat ist der einfachste Weg, einen professionellen Live-Chat, einen KI-Assistenten und ein Multi-Channel-Widget zu Ihrer WordPress-Seite hinzuzufügen. Verbinden Sie sich in Echtzeit mit Ihren Besuchern, automatisieren Sie Antworten mit künstlicher Intelligenz und lassen Sie Kunden Sie über ihren bevorzugten Kanal erreichen: Live-Chat, WhatsApp, Messenger, Instagram oder E-Mail — alles aus einem einzigen Widget. Verwendet von Unternehmen in 24 Ländern und verfügbar in 14 Sprachen, kombiniert KokobeoChat die Kraft menschlicher Operatoren mit KI-Automatisierung — für 24/7-Support ohne 24/7-Team. Warum wählen: * Kostenloser Plan für immer, keine Kreditkarte erforderlich * Pro- und Business-Pläne mit 15 Tagen kostenlos testen * 14 Sprachen mit automatischer Erkennung * Multi-Channel-Widget (Pro & Business) — WhatsApp, Messenger, Instagram, E-Mail in einer Blase * KI die mit der Zeit lernt — je mehr Ihre Besucher chatten, desto reicher wird das Gedächtnis des Assistenten * Echtzeit-Übersetzung zwischen Operator und Kunde * Installation in 60 Sekunden * Vollständig DSGVO-konform * Multi-Operator zur Team-Verwaltung Pläne: Free €0 für immer · Pro €29/Monat · Business €79/Monat (beide mit 15-Tage-Trial, keine Karte erforderlich) External Services This plugin connects to the KokobeoChat service (chat.kokobeo.com) to load the live chat widget and enable real-time communication between website visitors and operators. What data is sent and when: When a page containing the widget is loaded, the visitor browser connects to https://chat.kokobeo.com to load the widget script and establish a WebSocket connection for real-time chat. If the visitor sends a message, the message content is transmitted to KokobeoChat servers to be delivered to operators and (optionally) processed by the AI Brain for automatic replies. The plugin also transmits the following information to chat.kokobeo.com: * The website URL where the widget is loaded (for routing) * The API key configured in WordPress Settings (for authentication) * Visitor browser language (for automatic language detection) * Messages written by the visitor in the chat If a visitor opens the WhatsApp, Messenger, Instagram or Email channel from the widget (Pro & Business plans only), their browser will connect to the respective third-party service (wa.me, m.me, ig.me or their email provider) to open the conversation. No data is transmitted by the plugin to those services beyond the visitor clicking the link. No personal data is transmitted without user interaction (until the visitor opens the chat and sends a message). Service provider: KokobeoChat is operated by Europe Services SE (Czech Republic) and Goldman Services INC (Canada). Legal documents: * Terms of Service: https://chat.kokobeo.com/terms.html * Privacy Policy: https://chat.kokobeo.com/privacy.html