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%
Echo Knowledge Base – Documentation, FAQs, Chat & Smart Search
Echo Knowledge Base is a powerful documentation tool that helps you create and organize documentation, FAQs, quizzes, and articles. It includes built-in AI search and AI chatbot features and includes comprehensive features to help you build a visually appealing knowledge base. Designed with a modern and professional appearance by default, the plugin offers extensive customization options to align perfectly with your brand identity. FREE KB FEATURES Fast Search Bar: Enable users to find articles quickly with an AJAX-powered search bar. Deep Content Organization: Organize articles into categories and subcategories up to five levels deep. Display articles and categories across tabs or in an intuitive drill-down format. FAQs Layout and Shortcode: Deploy FAQs anywhere on your site with various eye-catching designs. Group questions logically and control their behavior for optimal user engagement. Article Enhancement Tools: Improve user experience with breadcrumbs, next/previous article navigation, print and PDF export options, and more. Table of Contents (TOC): Enhance navigation with a customizable table of contents on article pages for better user experience. Frontend Visual Editor: Customize your Knowledge Base pages live on the front-end with our intuitive visual editor or drag-and-drop Gutenberg blocks. Pre-made Layout Designs: Choose from many beautiful designs and layouts to make your knowledge base both stunning and functional. With dozens of combinations available, you’ll find the perfect look for your site. Most Popular and Recent Articles: Display lists of articles by popularity and recent publication to guide readers to trending and new content. Glossary: Build a centralized dictionary of terms and definitions for your knowledge base. Glossary Terms – Create and manage glossary entries. Published terms are automatically highlighted in your articles with interactive tooltips, helping readers understand key terminology without leaving the page. Glossary Index Shortcode and Block – Display an alphabetical index of all glossary terms on any page using the [epkb-glossary-index] shortcode or the Glossary Index Gutenberg block, with letter navigation and customizable accent color. AI-Generated Glossary Terms (PRO) – Automatically generate glossary terms and definitions from your knowledge base content using AI, saving time and ensuring comprehensive coverage of key terminology. Article Quizzes: Add interactive quizzes to KB articles to reinforce learning and increase engagement. Create custom multiple-choice or true/false questions, add answer explanations, and show published quizzes below the article content. Article Views Counter: Track views with the built-in counter and analyze your most and least popular content to optimize your knowledge base. Customizable Category Archive Page: Customize the category archive page with a custom header, description, and image. FREE AI FEATURES (Optional) All AI features are completely optional and disabled by default. You can enable them at any time if you choose to use AI-powered capabilities. AI Chat (Chatbot): Add a frontend chat dialog where users and visitors can ask questions and get instant AI-powered answers based on on your Knowledge Base, FAQs, internal documentation, notes, and any other source of information. AI Search: When users search, results show relevant KB articles plus an ‘Ask AI’ button to dive deeper with the same query. AI Content Analysis: Automatically analyze your knowledge base articles for quality and optimization. Get AI-powered insights including: Tags Analysis – Optimize article tags and categories for better organization and SEO Readability Score – Evaluate content clarity and structure with AI assistance Learn more. PRO KB FEATURES Advanced Search: Highlight search keywords on article pages, filter search by category, adjust search box styling, and add helper text or links below the search bar. Use advanced search analytics to discover popular queries and identify searches with no results. Granular Content Protection: Control access to documentation based on user groups, WordPress roles, or custom permissions. Seamlessly manage public and private knowledge base content. Unlimited Knowledge Bases: Create unlimited separate knowledge bases, each with its own articles, categories, and tags (great for managing multiple products or departments). Articles Import and Export: Import or export articles and categories using CSV or XML formats for easy migration or backup. AI Smart Search: Display intelligent search results with optional multi-panel sections User Feedback System: Gather valuable insights with article upvote/downvote and feedback forms. Article Links: Turn any article into a link that points to PDFs, external documentation, videos, or other resources. AI Features: Content Gap Analysis AI Quiz Generation – generate quiz drafts from KB articles, then review and edit the title, intro, questions, answers, and explanations before publishing Expand training to include notes, posts, pages, and custom post types Email Notifications for AI insights Human Agent Handoff – lets users escalate from AI to your support team Feedback Buttons – collect thumbs-up/down ratings on AI responses PDF to Articles – upload PDF files and convert them into KB articles with optional AI formatting that organizes content into headings, lists, and paragraphs PDF to Notes – upload PDF files via drag-and-drop or the Media Library and convert them into AI training notes to expand your AI’s knowledge beyond KB articles AI Chat Access Control – restrict who can use AI Chat: everyone, logged-in users only, or specific WordPress roles. Set different access rules for each chat location See the official website for more details on Pro features. ⭐ WALK-THROUGH OF ECHO KNOWLEDGE BASE Watch a quick introduction to Echo Knowledge Base and see it in action: https://www.youtube.com/watch?v=sLwj8FpfBWc ⭐ PROFESSIONAL LAYOUTS INCLUDED Echo Knowledge Base comes with multiple layout options to suit your style: Basic Layout – Clean and simple design Tabs Layout – Organized content in tabbed interface Drill Down Layout – Intuitive navigation through categories Classic Layout – Traditional documentation style Category Focused Layout – Highlight your main categories See our comprehensive documentation here ⭐ ADDITIONAL FEATURES Gutenberg Blocks: Seamlessly integrate knowledge base elements using the WordPress block editor. Flexible Ordering: Order articles and categories alphabetically, by date, or manually with drag-and-drop. SEO Optimization: Built with SEO best practices to help your documentation rank well in search engines. Usage Analytics: Monitor knowledge base traffic and search queries to understand what users need. Interactive Learning: Turn knowledge base articles into quizzes with answer explanations to help readers retain information. Multilingual & RTL Support: Fully compatible with WPML, Polylang, GTranslate, and supports right-to-left languages. Responsive Design: Mobile-friendly and works with any WordPress theme, so your docs look great on all devices. Directory Shortcode: Use a shortcode to display an index of all articles (great for an A-Z index page). Multi-site Compatible: Perfect for WordPress multisite networks – manage documentation across multiple sites. Custom URL Structure: Customize category, tag, and article URLs for a clean and branded structure. Mobile Optimization: Ensures a smooth reading experience on smartphones and tablets. Content Migration: Easily convert existing posts or custom post types into Knowledge Base articles. ⭐ SEO & ACCESSIBILITY OPTIMIZED Echo Knowledge Base is optimized for search engines and adheres to accessibility standards. It supports multiple languages (including RTL scripts) and meets WCAG guidelines, making your documentation usable for a global audience. All layouts are fully responsive and retina-ready, so your knowledge base looks sharp on every device. ⭐ EASY TO STYLE WITH PRE-MADE DESIGNS No coding needed – make it your knowledge base with just a few clicks: 26 Pre-Made Designs: Choose from a variety of professional color schemes and styles. One-Click Theme Switching: Swap layouts (Basic, Tabs, Category-Focused, Classic, Drill Down, Sidebar, Grid, etc.) instantly to find the perfect look. Endless Customization: Further tweak colors, fonts, and styles to match your brand. ⭐ BUILDER COMPATIBILITY Echo Knowledge Base works great with popular page builders: Elementor & Gutenberg: Comes with native blocks and widgets for seamless integration. Other Builders: Fully compatible with Beaver Builder, Divi, Visual Composer, and more. ✅ WHY CHOOSE ECHO KNOWLEDGE BASE? User-Friendly: Designed for ease of use – no coding required and a gentle learning curve. All-in-One Support Hub: Manage documentation, FAQs, quizzes, AI chat, and smart search in one plugin. Professional Design: 26 beautiful, ready-to-use layouts give your docs a polished look out of the box. Highly Customizable: Extensive configuration options to tailor the knowledge base to your needs. Reliable Support: Our friendly, Canadian-based support team is ready to help with any questions. Regular Updates: Continuously improved with new features (our roadmap is packed with upcoming enhancements!). Global Ready: Translate your documentation and serve users in any language with full multilingual support. About Us: We are a Canadian company with over a decade of experience in WordPress and web technologies. We’re passionate about helping you provide better support to your customers.