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%
AI Content Writing and Chat with ChatGPT
AI Content Writing is a software tool that uses AI to streamline the content creation process for WordPress websites and Woocommerce. It optimizes content for search engines and human readers, enhances visibility and effectiveness of content marketing efforts, and ensures content is well-structured and easy to read. It helps businesses produce high-quality content quickly and with less effort, attract more traffic to their website, and achieve their content marketing goals. Moreover, The ChatGpt and WhatsApp Chat plugin for WordPress and WooCommerce adds WhatsApp floating button, ChatGPT AI BOT, ChatGPT AI Assistant, widget, and chat button to your website easily. In addition, the live Chat Button plugin is the best plugin to add a support button to your website. You can engage your customers and give them the best support by adding WhatsApp chat support and ChatGPT AI BOT to your WordPress and WooCommerce websites. Moreover, this will help you streamline your customer support process and improve customer satisfaction. An image generator is a software or tool that allows users to create or generate images based on their preferences. It provides various features and options to manipulate different elements of an image, such as colors, shapes, textures, and patterns. The generator can be used for various purposes, including graphic design, art creation, and visual content creation. FRONT-END DEMO | BACK-END DEMO | Ask Questions | PRO WITH 50% DISCOUNT FOR $30 Features Video Tutorial AI CONTENT WRITING FOR WORDPRESS Ai Content Writing for WordPress can be a valuable tool for writers who are looking to improve their content creation process and optimize their content for search engines and human readers alike. In addition, Ai Content Writing for WordPress are a powerful tool that can assist writers in maintaining a consistent style and tone across all of their content. This can help reinforce the brand voice and create a more cohesive user experience for readers. Additionally, Content Writer can help writers save time and improve their efficiency by automating certain tasks such as keyword research and content optimization. This can help writers produce high-quality content more quickly and efficiently. Content writers can ensure that their content is well-structured, optimized for search engines, and free of errors. Consequently, this can help improve the quality of the content, making it more engaging and informative for readers. AI CONTENT WRITING FOR WOOCOMMERCE WooCommerce is one of the most popular eCommerce platforms out there, with millions of online stores using it to sell their products. And with so much competition, businesses need to find ways to stand out. Furthermore, AI content writing for WooCommerce can help businesses create unique and personalized product descriptions, blog posts, and social media updates that resonate with their customers. Additionally, by analyzing customer data, AI can identify trends and preferences, ensuring that each piece of content is tailored to the audience. THE IMPACT OF AI CONTENT WRITING ON SEO One of the most significant ways in which AI is impacting SEO is through content writing. AI-powered content writing tools are becoming increasingly popular due to their ability to generate high-quality content that is optimized for search engines. These tools use natural language processing (NLP) algorithms to create readable, engaging, and SEO-friendly content that ranks higher on search engine result pages (SERPs). With the help of AI, content writers can create content that is tailored to the specific needs of their audience and is optimized for specific keywords. This not only improves the visibility of the content on search engines but also enhances the user experience. By using AI-powered content writing tools, content writers can focus on creating more engaging and creative content, while letting the machine handle the technical aspects of SEO. IMAGE GENERATOR An image generator is a software or tool that allows users to create or generate images based on their preferences. It provides various features and options to manipulate different elements of an image, such as colors, shapes, textures, and patterns. The generator can be used for various purposes, including graphic design, art creation, and visual content creation. Using an image generator, users can easily create unique and customized images without the need for advanced design skills or knowledge of complex software. The generator provides a user-friendly interface with pre-set options and settings that can be adjusted according to the user’s preferences. It allows users to experiment with different combinations and styles to create visually appealing and eye-catching images. Additionally, image generators often have a wide variety of templates and themes that users can choose from, making it easy to create images for specific purposes or themes. Overall, an image generator is a powerful tool that empowers users to create professional-looking images quickly and easily. Enhance Your Website’s Visual Appeal With Image Generator In today’s digital age, having a visually appealing website is crucial for attracting and retaining users. One effective way to enhance the visual appeal of a website is by using an image generator. An image generator allows you to create unique and eye-catching images that can be used as backgrounds, headers, or graphics on your website. With a wide range of customizable options, you can easily adjust the colors, shapes, and patterns to match your website’s theme and branding. By incorporating these visually striking images into your website design, you can create a memorable and engaging user experience that will leave a lasting impression on your visitors. WhatsApp WhatsApp is the most popular instant messaging application in the world, as it has over 2 billion active users. It means that most of your customers are using WhatsApp so to provide better support to them, you need to add chat support to your website. Generating leads is the most important thing for a successful business and the WhatsApp chat button is the best way to generate leads and increase your overall sales. ChatGPT AI Assistant One of the best ways to provide better customer support is to add a ChatGPT to your WordPress website, as it can help you answer customer questions, resolve issues, and provide information quickly and easily. ChatGPT is a valuable tool to use because it provides quick and accurate answers to a wide range of questions. ChatGPT can handle customer inquiries and support requests without the need for human intervention, thus freeing up resources and streamlining operations. WhatsApp Chat Add ‘WhatsApp’ or ‘WhatsApp Business’ Number. And let your website visitors contact you with a single click. 📱 Mobile: Navigates to WhatsApp Mobile App. 💻 Desktop: Navigates to WhatsApp Desktop App / Web WhatsApp page(web.whatsapp.com) WHAT YOU CAN DO WITH ChatGPT AI Content Writing and WhatsApp Add Image Generator Add Ai Content Writing Add ChatGpt AI BOT Add single-agent WhatsApp chat support Add multi-agent WhatsApp chat support Add a floating chat button to your website Add a floating chat button to specific pages Display chat support for “All Visitors”, “New Visitors”, “Returning Visitors”, “Logged in users (PRO)”, “Guest Users (PRO)” Add a chat button to specific WooCommerce products, categories (PRO) or tags (PRO) Add chat support to specific pages by URL. Exclude chat support from specific pages by URL. Display single account or multi account chat window in the floating chat button Create multiple accounts with specific avatars or predefined avatars Predefined templates to create chat easily and in a minute Different styles and positions for Mobile and Desktop Preview the live chat button in the admin when designing it Custom colors, greetings, icons and avatars Define custom availability and working hours for each account (PRO) Define custom availability timezone for each account (PRO) Keep communicating directly from your WhatsApp account 4 types of chat “Floating Bubble”, “Embed Bubble”, “Embed Chat Window”, “Button” WPML Ready Google Analytics (PRO) Facebook Pixel Analytics (PRO) PRO WITH 50% DISCOUNT FOR $30 WhatsApp Button The Live Chat Button allows your customers to contact you directly from your website. You will receive a message from your customer directly in your WhatsApp account and you will be able to reply to him/her. WhatsApp Support WhatsApp support is a great way to get your customers to contact you. You can add WhatsApp support to your website and let your customers contact you with a single click. How to add the Live Chat Button plugin to your WordPress or WooCommerce website Simply install and activate the plugin and then follow the below steps to create a chat support button. 1. Create an account and set your Name, number, caption, avatar and custom availability. 2. Add a new live chat and select one of the predefined templates. 3. Search for your account and add it. You can preview the live chat button. 4. Select “All pages”, “Specific pages”, “WooCommerce Products or Categories or Tags” from the Settings – Display Settings – Pages. 5. It is done and you can view the live chat button on your website. 📕 Tutorials WordPress AI Content Writing with ChatGPT How to Add ChatGPT to WordPress How to Add WhatsApp Chat to WordPress How to Add WhatsApp Chat to WooCommerce WhatsApp Group Chat Add your group chat URL to the account to create a group chat support. AI CONTENT WRITING Features AI CONTENT WRITING – Create exceptional, lengthy articles with OpenAI’s GPT language models, including text-davinci-003, GPT-3.5 Turbo, and GPT-4 – Customize content with options like temperature, maximum tokens – Customize content with options for writing style And Writing Tone – Summrize Text – Generate To Paragraphs – Expand – Enhance Text – Generate Text To Product Description – Generate Text or Paragraph To Write a Conclusion – Add Transition Word To Paragraph and more Options IMAGE GENERATOR FEATURES IMAGE GENERATOR – Create an Image with a Popular Artist – Change Image Effect – Change Photography Style – Change Camera Mode – Change Image Resolution – Change Image Size 💎 Live Chat Button Features ChatGpt AI Assistant Add a single or multi-agent ChatGpt Button Floating Widget to “all pages”, “specific pages”, “WooCommerce products”, “WooCommerce Categories”, “WooCommerce tags”. WhatsApp Floating Widget Add a single or multi agent Live Chat Button Floating Widget to “all pages”, “specific pages”, “WooCommerce products”, “WooCommerce Categories”, “WooCommerce tags”. Multi Agent Chat Plugin Create multiple agents with custom titles and avatars – Agent name – Agent number – Predefined agent caption or custom caption – Predefined avatars or custom avatar – Custom availability and working hours (PRO) – Custom timezone for each agent (PRO) WooCommerce WhatsApp Button Add live chat support to WooCommerce products, categories and tags – Create different live chat buttons for specific products – Define a specific agent/expert for each WooCommerce product, category, or tag – Display the live chat button on defined positions like after the “Add to cart” button – Display multiple live chat buttons on WooCommerce products like support and sales manager Live Chat Button in Pages or Posts – Add a chat button to “All pages” – Add a chat button to “Specific pages” – Add a chat button to all pages excluding specific pages – Add a chat button to specific URLs on your site – Add a chat button to pages or posts with a shortcode – Define different agents for different pages or posts Live Chat Button in Devices Control which chat button is available on Mobile or Desktop Devices or both of them. Visitors Control which visitors can see the chat button – All Visitors – New Visitors – Returning Visitors – Logged in users (PRO) – Guest users (PRO) GREETINGS DIALOG Display perfect greetings to engage user experience Analytics – Google Analytics (PRO) – Facebook Pixel Analytics (PRO) Customer Support – Create multi agent live chat support – Display single account or multi account chat window in the floating chat button – Create multiple accounts with specific avatars or predefined avatars – Enhance customer relationships by keeping communicating directly from your WhatsApp account with your agent’s real name and avatar Styles and Colors – Choose custom colors and styles that fits your website design Live Chat Button Shortcode The plugin includes a shortcode and you can use it to display the live chat on every WordPress page or post. WPML Ready The plugin is WPML ready, so if you are running a multilingual website you can add live chat support to all languages. It is compatible with any translation plugins like WPML, Polylang, etc. 🚀 Live Chat Button Performance The plugin is rich in features while it is lightweight and fast. Minimum Requirements WordPress 5.0.0 or greater WooCommerce 3.0.0 or greater (if you are using WooCommerce) PHP version 5.6 or greater MySQL version 5.0 or greater 🎉 Our Other Free Plugins Discount Rules and Dynamic Pricing for WooCommerce WooCommerce Product Bundles 💡 Our Other Pro Plugins Discount Rules and Dynamic Pricing for WooCommerce Pro WooCommerce Product Bundles Pro