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%
Send Data to Google Sheets, Mailchimp, Notion, Slack & More – EasyLink Automations
EasyLink Automations is a powerful automation plugin that lets you create sophisticated workflows directly inside WordPress. Connect your WordPress site with third-party platforms, automate repetitive tasks, and build complex integrations — all without writing code. With 578 triggers across 117 platforms and 813 actions across 53 integrations, EasyLink Automations is one of the most comprehensive automation solutions for WordPress. Watch the overview: Links: Website — documentation, guides, and pro add-on Upgrade to Pro — unlock the full trigger and action library Community — join the Facebook group for support and discussion Source Code — contribute on GitHub Upgrade to Pro The free plugin gives you the core automation builder plus essential WordPress, form, WooCommerce, Google Sheets, Mailchimp, Notion, Slack, Telegram, Discord, and Trello workflows. Upgrade to EasyLink Automations Pro when you need to automate the rest of your business stack: Unlock 519 additional triggers across 95 platforms Unlock 782 additional actions across 51 integrations Build deeper workflows for WooCommerce extensions, LMS plugins, memberships, communities, CRMs, email marketing, support, and project management Connect major CRM and sales platforms including HubSpot, Salesforce, Pipedrive, Zoho CRM, Microsoft Dynamics CRM, HighLevel, Affinity, Copper CRM, Keap, and Monica CRM Enrich and sync contact data with Clearbit, Dropcontact, and Ortto (formerly Autopilot) Upgrade to Pro to connect more tools and build more complete automation workflows. Free Triggers (59) Start automations when events happen in WordPress, WooCommerce, LMS plugins, and 20 form builders. Incoming Webhook (1): * Incoming Webhook — trigger automations from any external service via a unique URL WordPress (17): * Post Published, Post Updated, Post Status Changed, Post Moved to Trash, Post of Type Set to Status, User Views a Post * User Registered, User Login, User Resets Password, User Meta Key Updated, User Profile Field Updated * Role Added to User, Role Removed from User, User Role Changed, User Role Updated * Comment Added, Comment Approved WooCommerce (5): * Product Purchased, Order Paid, Order Status Changed, Order Note Added, Customer Created Academy LMS (2): * Course Completed, Enrolled in Course LearnDash (2): * Course Completed, Lesson Completed LearnPress (1): * Course Completed Tutor LMS (1): * User Enrolled in Course Form Triggers (30 triggers across 20 form plugins): * Elementor Pro (4), Gravity Forms (5), Fluent Forms (2), Formidable Forms (2), WPForms (2), Contact Form 7 (1), Forminator (1), Ninja Forms (1), Bricks Builder (1), Beaver Builder (1), Divi Builder (1), Convert Pro (1), JetFormBuilder (1), Kadence Forms (1), MetForm (1), HappyForms (1), Pie Forms (1), SureForms (1), WS Form (1), Ultimate Addons for Gutenberg (1) Pro Triggers (519) The Pro add-on unlocks 519 additional triggers across 95 platforms: eCommerce: * WooCommerce (9 additional), WooCommerce Subscriptions (8), WooCommerce Memberships (4), WooCommerce Bookings (2), WooCommerce ShipStation (3) [PRO] * Fluent Cart (20), Easy Digital Downloads (15), CartFlows (10), StoreEngine (1) [PRO] CRM & Email Marketing: * FluentCRM (19), JetpackCRM (10), MailerPress (9) [PRO] * Groundhogg (2), MailPoet (1), Mail Mint (3), Newsletter (1), Fluent SMTP (1), SureMail (3) [PRO] LMS & Courses: * LearnDash (17 additional), Tutor LMS (8 additional), LifterLMS (8), Sensei LMS (7), MasterStudy LMS (5), Masteriyo (4), Academy LMS (3 additional), LearnPress (2 additional), WPLMS (1), Thrive Apprentice (9), SureDash (10) [PRO] Membership & Access: * MemberPress (5), MemberPress Courses (2), PaidMembershipsPro (5), Restrict Content (3), Ultimate Member (4), WishList Member (2), SureMembers (3) [PRO] Community & Forums: * BuddyBoss (14), BuddyPress (16), PeepSo (8), Asgaros Forum (2), wpForo (2), BBPress (2), Better Messages (1) [PRO] * FluentCommunity (17), ProfileGrid (11) [PRO] Affiliate & Referral: * AffiliateWP (9), FluentAffiliate (13), Easy Affiliate (3), SliceWP (4) [PRO] Booking & Appointments: * Amelia (10), Fluent Booking (3), Appointment Hour Booking (2), JetAppointmentsBooking (4), Simply Schedule Appointments (3) [PRO] Events: * The Events Calendar (4), Events Manager (4), Modern Events Calendar (5), WP Cafe (2) [PRO] Support & Help Desk: * FluentSupport (9) [PRO] Directories & Listings: * GeoDirectory (5) [PRO] Page Builders & Content: * Voxel (44), JetEngine (1), Presto Player (2), Powerful Docs (1) [PRO] * Advanced Custom Fields (3), Meta Box (3) [PRO] Gamification: * GamiPress (4) [PRO] Donations: * GiveWP (5) [PRO] Payments: * Paymattic (2), WP Simple Pay (3) [PRO] SureCart Ecosystem: * Services for SureCart (13), Support Portal for SureCart (6) [PRO] Marketing & Analytics: * Thrive Leads (2), Thrive Ovation (1), RafflePress (2), Advanced Ads (2), Advanced Coupons (4) [PRO] * ClickWhale (4), Pretty Links (1), WP Fusion (3) [PRO] User Management: * WP User Manager (6), ProfilePress (2), New User Approve (1), WP Subscription (6) [PRO] Import & Sync: * WP All Import (3) [PRO] Miscellaneous: * Fluent Boards (4), FunnelKit Automations (4), GravityKit (2), Ninja Tables (2) [PRO] * WP Job Manager (1), WP Polls (2), WP Travel Engine (4), TriggerButton (1), WPLoyalty (1), SureFeedback (formerly ProjectHuddle) (2) [PRO] Free Actions (31) Perform tasks when triggers fire: Core (2): * Send Email — send custom emails with dynamic content * Webhook — send data to any external URL WordPress (2): * Create Post — create posts, pages, or custom post types * Update User Meta — update user metadata fields Google Sheets (9): * Append Row, Update Row, Append or Update Row — write data to a sheet * Get Rows — read rows from a sheet, optionally filtered by a column value * Clear Sheet, Delete Row — remove data from a sheet * Create Spreadsheet, Create Sheet, Delete Sheet — manage spreadsheets and tabs * All Google Sheets actions use the OAuth2 connection Mailchimp (3): * Create Member, Update Member, Get Member (OAuth2) ActiveCampaign (2): * Create Contact, Add Contact Tag Brevo (1): Create Contact MailerLite (1): Create Subscriber Notion (1): Create Database Page Slack (1): Send Message Telegram (1): Send Message Discord (1): Send Message Trello (1): Create Card Sendy (1): Subscribe to List Freshservice (1): Create Ticket Microsoft Teams (1): Send Channel Message CleverReach (2): Add or Update Subscriber, Send Double Opt-In Email rapidmail (1): Add Subscriber Pro Actions (782) The Pro add-on unlocks 782 additional actions across 51 platforms: CRM & Sales: * ActiveCampaign (37 additional), HubSpot (26), Salesforce (23), Pipedrive (30), Copper CRM (24), Freshworks CRM (19), Keap (17), AgileCRM (12), Monica CRM (52), Salesmate (15), Mautic (20) [PRO] * Zoho CRM (24), Microsoft Dynamics CRM (5), HighLevel (18), Affinity (16) [PRO] Email Marketing: * Brevo (14 additional), Mailchimp (4 additional), MailerLite (3 additional), GetResponse (5), ConvertKit (4), Lemlist (10), Customer.io (6), Ortto (formerly Autopilot) (11), Sendy (5 additional), CleverReach (23 additional), rapidmail (31 additional) [PRO] Email Delivery: * SendGrid (10), Mailgun (1), Mailjet (3), Postmark (2), Mandrill (2) [PRO] Project Management: * Trello (40 additional), Asana (15), Jira (12), Linear (7), ClickUp (13), GitHub (29) [PRO] Communication: * Slack (26 additional), Discord (12 additional), Telegram (11 additional), Microsoft Teams (14 additional) [PRO] Productivity: * Notion (12 additional), Airtable (6) [PRO] Help Desk: * Zendesk (12), Freshdesk (8), Freshservice (71 additional), Intercom (12) [PRO] Marketing: * Drift (4) [PRO] Data Enrichment: * Clearbit (3), Dropcontact (2) [PRO] Flow Control: * Delay (1) — pause a workflow for a set amount of time before continuing [PRO] Key Features Visual Automation Builder — design workflows with an intuitive interface Multi-Step Workflows — chain multiple actions in sequence with conditional delays Action-Level Conditional Logic — add conditions to any action so it only runs when specific criteria are met (supports AND/OR logic with 10 operators) Dynamic Field Mapping — use placeholders like {{post_title}} to pass data between steps Incoming & Outgoing Webhooks — send and receive data to/from external services Execution Logging — monitor automation runs, view results, and debug issues Auto Log Cleanup — configurable retention with automatic daily cleanup Email Notifications — get notified when automations fail Connection Testing — automatically validates credentials before saving connections Pro Add-on — unlock 519 additional triggers and 728 additional actions External services This plugin connects to external third-party services when configured by the site administrator. No data is sent to any external service unless the administrator explicitly sets up a connection and creates an automation that uses it. Google Sheets and Google Drive Used to read spreadsheet lists and to read, append, update, and manage rows and sheets in Google Sheets when an automation runs. Data sent: spreadsheet and row data as configured in the automation action (e.g. form field values, post data, user data). When: each time an automation containing a Google Sheets action is triggered. Authentication: OAuth2 — the administrator authorizes access through their Google account. Google Terms of Service Google Privacy Policy Mailchimp Used to manage email subscribers in Mailchimp when an automation runs. Data sent: subscriber information as configured in the automation action (e.g. email address, name, tags). When: each time an automation containing a Mailchimp action is triggered. Authentication: OAuth2 — the administrator authorizes access through their Mailchimp account. Mailchimp Terms of Use Mailchimp Privacy Policy ActiveCampaign Used to manage contacts and tags in ActiveCampaign when an automation runs. Data sent: contact information as configured in the automation action. When: each time an automation containing an ActiveCampaign action is triggered. Authentication: API Key + URL provided by the administrator. ActiveCampaign Terms ActiveCampaign Privacy Policy Brevo (formerly Sendinblue) Used to create contacts in Brevo when an automation runs. Data sent: contact information as configured in the automation action. When: each time an automation containing a Brevo action is triggered. Authentication: API Key provided by the administrator. Brevo Terms Brevo Privacy Policy MailerLite Used to create subscribers in MailerLite when an automation runs. Data sent: subscriber information as configured in the automation action. When: each time an automation containing a MailerLite action is triggered. Authentication: API Key provided by the administrator. MailerLite Terms MailerLite Privacy Policy Notion Used to create database pages in Notion when an automation runs. Data sent: page properties as configured in the automation action. When: each time an automation containing a Notion action is triggered. Authentication: Integration Token provided by the administrator. Notion Terms Slack Used to send messages to Slack channels when an automation runs. Data sent: message content as configured in the automation action. When: each time an automation containing a Slack action is triggered. Authentication: Bot Token provided by the administrator. Slack Terms Slack Privacy Policy Telegram Used to send messages via Telegram Bot API when an automation runs. Data sent: message content as configured in the automation action. When: each time an automation containing a Telegram action is triggered. Authentication: Bot Token provided by the administrator. Telegram Terms Telegram Privacy Policy Discord Used to send messages to Discord channels when an automation runs. Data sent: message content as configured in the automation action. When: each time an automation containing a Discord action is triggered. Authentication: Webhook URL provided by the administrator. Discord Terms Discord Privacy Policy Trello Used to create cards in Trello when an automation runs. Data sent: card details as configured in the automation action. When: each time an automation containing a Trello action is triggered. Authentication: API Key + Token provided by the administrator. Trello Terms Trello Privacy Policy Sendy Used to add subscribers to lists on a Sendy installation when an automation runs. Data sent: subscriber details as configured in the automation action. When: each time an automation containing a Sendy action is triggered. Authentication: installation URL + API Key provided by the administrator. Sendy is self-hosted software, so requests go to the server the administrator specifies rather than to a vendor-operated service. Sendy Terms Sendy Privacy Policy Microsoft Graph (Microsoft Teams) The Microsoft Teams connection uses Microsoft Graph to load account-specific teams, channels, chats, Planner resources, and members, and to run configured actions. Data sent: selected Microsoft resource IDs, message content, channel details, or Planner task details configured in the automation. When: while configuring a Microsoft Teams action or when an automation containing one runs. Authentication: OAuth 2.0 access and refresh tokens authorized by the administrator. Microsoft Services Agreement Microsoft Privacy Statement Freshservice The Freshservice connection sends configured service-desk requests to the administrator’s Freshservice account and loads account-specific options for action fields. Data sent: ticket or service-desk resource details configured in the automation. When: while configuring a Freshservice action or when an automation containing one runs. Authentication: Freshservice domain and API key provided by the administrator. Freshworks Terms Freshworks Privacy Notice Google Fonts The plugin loads the Inter font family from Google Fonts on the plugin’s admin pages for UI styling. Data sent: the user’s IP address is sent to Google’s servers as part of the font request (standard browser behavior). When: each time a plugin admin page is loaded. Google Terms of Service Google Privacy Policy Outgoing Webhooks The Webhook action sends HTTP requests to external URLs configured by the site administrator. Data sent: automation trigger data as configured in the action (method, headers, and body are all set by the administrator). When: each time an automation containing a Webhook action is triggered. The destination URL and service are entirely determined by the administrator. Pro External Services When the Pro add-on is installed, additional external services may be connected. Each Pro integration follows the same pattern: no data is sent unless the administrator explicitly configures a connection and creates an automation using it. Pro integrations include: HubSpot, Salesforce, Zendesk, Intercom, Freshdesk, Freshservice, Freshworks CRM, Copper CRM, Keap, AgileCRM, Drift, SendGrid, Mailgun, Mailjet, Postmark, ConvertKit, Customer.io, GetResponse, Lemlist, Asana, Jira, Linear, ClickUp, Microsoft Teams, Monica CRM, Pipedrive, Mautic, Airtable, Zoho CRM, Microsoft Dynamics CRM, HighLevel, Affinity, Ortto (formerly Autopilot), Clearbit, Dropcontact, GitHub, Salesmate, Sendy, Mandrill (Mailchimp Transactional), CleverReach, and rapidmail. Each service has its own Terms of Service and Privacy Policy.