| 1 |
=== Code Engine - PHP Snippets, AI Functions & Automation for WordPress === |
| 2 |
Contributors: TigrouMeow |
| 3 |
Tags: snippets, code, php, ai, automation |
| 4 |
Donate link: https://www.patreon.com/meowapps |
| 5 |
Requires at least: 6.0 |
| 6 |
Tested up to: 7.0 |
| 7 |
Requires PHP: 7.4 |
| 8 |
Stable tag: 0.4.9 |
| 9 |
License: GPLv2 or later |
| 10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
|
| 12 |
Manage PHP & JS snippets the clean way — then turn any function into an AI tool, a workflow step, or a REST endpoint. Write once, use everywhere. 🤟 |
| 13 |
|
| 14 |
== Description == |
| 15 |
|
| 16 |
**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. |
| 17 |
|
| 18 |
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! ✨ |
| 19 |
|
| 20 |
For more, check the [official website](https://meowapps.com/code-engine/) and come say hi on [the Discord](https://discord.gg/bHDGh38). |
| 21 |
|
| 22 |
== Quick Intro == |
| 23 |
|
| 24 |
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*. |
| 25 |
|
| 26 |
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: |
| 27 |
|
| 28 |
* **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. |
| 29 |
* **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. |
| 30 |
* **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. |
| 31 |
|
| 32 |
You never wrote an "integration." You just wrote a function. Code Engine did the rest. 🤝 |
| 33 |
|
| 34 |
== Core Modules == |
| 35 |
|
| 36 |
🧩 **Snippets Manager** |
| 37 |
Backend, Frontend, Persistent, Scheduled, Functions, and in-content (PHP/JS) snippets — all in one clean dashboard with tags, search, scope filters, and priorities. |
| 38 |
|
| 39 |
🪄 **AI-Assisted Coding** |
| 40 |
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. |
| 41 |
|
| 42 |
🤖 **Functions as AI Tools** |
| 43 |
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. |
| 44 |
|
| 45 |
🔀 **Functions as Workflow Steps** |
| 46 |
Workflow Engine surfaces each of your functions as its own draggable step. Your custom logic becomes a first-class citizen on the automation canvas. |
| 47 |
|
| 48 |
🌐 **External Access (REST)** |
| 49 |
Expose any runnable snippet through a secured REST endpoint with a bearer token. Perfect for Make.com, n8n, webhooks, and scheduled external jobs. |
| 50 |
|
| 51 |
🛡️ **Safe Mode** |
| 52 |
A snippet that throws a fatal error is automatically caught and disabled before it can take your site down. Code with confidence. |
| 53 |
|
| 54 |
⏰ **Scheduling** |
| 55 |
Run a snippet daily at a chosen time via WP-Cron — reports, cleanups, syncs — without touching the server crontab. |
| 56 |
|
| 57 |
🧱 **Code Blocks & Shortcodes** *(Pro)* |
| 58 |
Drop PHP or JS straight into a post or page with a Gutenberg block or the `[code-engine]` shortcode, with safety guards. |
| 59 |
|
| 60 |
== 🧩 Snippets, the way they should be == |
| 61 |
|
| 62 |
Code Engine organizes your code by **scope**, so each snippet runs exactly where it belongs: |
| 63 |
|
| 64 |
* **Persistent** — runs everywhere (frontend + backend). Your everyday "add this to functions.php" code, but managed. |
| 65 |
* **Frontend** — runs only on the public site. |
| 66 |
* **Backend** — runs only in the admin. |
| 67 |
* **Function** — a named, callable function with typed arguments and defaults. This is the reusable building block (see below). |
| 68 |
* **Scheduled** — runs on a WP-Cron schedule, at the hour and minute you pick. |
| 69 |
* **Content (PHP / JS)** — runs inside a specific post or page, via a Gutenberg Code Block or the `[code-engine]` shortcode *(Pro)*. |
| 70 |
|
| 71 |
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. |
| 72 |
|
| 73 |
== 🪄 Let AI write it for you == |
| 74 |
|
| 75 |
Don't feel like writing the boilerplate? Describe the snippet in plain language and Code Engine — powered by [AI Engine](https://wordpress.org/plugins/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. |
| 76 |
|
| 77 |
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. |
| 78 |
|
| 79 |
== ✨ The big idea: write once, use everywhere == |
| 80 |
|
| 81 |
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: |
| 82 |
|
| 83 |
**1. As an AI tool — for chatbots and AI agents** |
| 84 |
With [AI Engine](https://wordpress.org/plugins/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. |
| 85 |
|
| 86 |
**2. As a workflow step — for automation** |
| 87 |
With [Workflow Engine](https://meowapps.com/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. |
| 88 |
|
| 89 |
**3. As a REST endpoint — for the outside world** |
| 90 |
Give a snippet a custom endpoint name and a bearer token, and it's instantly callable from anywhere: |
| 91 |
|
| 92 |
`POST /wp-json/code-engine/v1/snippets-endpoint/your-endpoint` |
| 93 |
|
| 94 |
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. |
| 95 |
|
| 96 |
== 🛡️ Safe by default == |
| 97 |
|
| 98 |
Running arbitrary code is powerful, so Code Engine takes safety seriously: |
| 99 |
|
| 100 |
* **Safe Mode** catches fatal errors and auto-disables the offending snippet, so a typo never white-screens your site. |
| 101 |
* **REST whitelisting** means global snippets only run on trusted REST routes by default — you choose what to open up. |
| 102 |
* **Per-snippet tokens** secure your external endpoints. |
| 103 |
* **Validation** with a real PHP parser before code is saved. |
| 104 |
|
| 105 |
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. |
| 106 |
|
| 107 |
== Works beautifully with the Meow Apps family == |
| 108 |
|
| 109 |
Code Engine is one engine in a connected set — each one useful alone, magical together: |
| 110 |
|
| 111 |
* **[AI Engine](https://wordpress.org/plugins/ai-engine/)** — chatbots, content generation, and MCP. Turns your functions into AI tools. |
| 112 |
* **[Workflow Engine](https://meowapps.com/workflow-engine/)** — visual automation. Turns your functions into draggable steps. |
| 113 |
* **[SEO Engine](https://wordpress.org/plugins/seo-engine/)** — smart, lightweight AI SEO. |
| 114 |
* **[Social Engine](https://wordpress.org/plugins/social-engine/)** — schedule and automate social posts. |
| 115 |
|
| 116 |
== Why Code Engine? == |
| 117 |
|
| 118 |
**Reusable, not throwaway** |
| 119 |
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. |
| 120 |
|
| 121 |
**Native to WordPress** |
| 122 |
Clean, fast, and built the WordPress way — no clunky external dashboards, no bloat. |
| 123 |
|
| 124 |
**AI-native** |
| 125 |
Write snippets with AI, expose them to AI. The whole loop lives in your wp-admin. |
| 126 |
|
| 127 |
**Developer friendly** |
| 128 |
REST API, MCP tools, function calling, scheduling, import/export, and plenty of filters to hook into. |
| 129 |
|
| 130 |
**Cared for** |
| 131 |
Part of the Meow Apps family, with regular updates and a real human behind it. 💕 |
| 132 |
|
| 133 |
== Screenshots == |
| 134 |
|
| 135 |
1. The Snippets dashboard — your PHP & JS organized by scope (Global, Callable, Scheduled, Content), with search, tags, and AI Quick Start. |
| 136 |
2. The editor — a Callable function with live syntax highlighting. One setting exposes it over REST and to AI Engine. |
| 137 |
3. Settings — MCP support, a public REST API, Safe Mode, and developer options. |
| 138 |
4. The payoff: your getOutdoorTemperature function running as a step inside a Workflow Engine workflow. |
| 139 |
5. Whole workflows built from your own Code Engine functions, alongside AI Engine and WordPress steps. |
| 140 |
|
| 141 |
== Installation == |
| 142 |
|
| 143 |
1. Upload `code-engine` to the `/wp-content/plugins/` directory (or install it from the Plugins screen). |
| 144 |
2. Activate the plugin through the 'Plugins' menu in WordPress. |
| 145 |
3. Head to **Meow Apps → Code Engine** and create your first snippet. |
| 146 |
4. *(Optional)* Install [AI Engine](https://wordpress.org/plugins/ai-engine/) to write snippets with AI and expose your functions as chatbot tools. |
| 147 |
5. *(Optional)* Install [Workflow Engine](https://meowapps.com/workflow-engine/) to use your functions as visual workflow steps. |
| 148 |
|
| 149 |
== Upgrade Notice == |
| 150 |
|
| 151 |
Replace all the files. Nothing else to do. |
| 152 |
|
| 153 |
== Frequently Asked Questions == |
| 154 |
|
| 155 |
= What's the difference between a snippet and a Function? = |
| 156 |
|
| 157 |
A regular snippet (Persistent, Frontend, Backend, Scheduled, Content) runs automatically based on its scope. A **Function** is a named, callable snippet with arguments — it runs on demand, and that's exactly what makes it reusable as an AI tool, a workflow step, or a REST endpoint. |
| 158 |
|
| 159 |
= Do I need AI Engine or Workflow Engine to use Code Engine? = |
| 160 |
|
| 161 |
No. Code Engine is a fully capable snippets manager on its own. AI Engine unlocks AI-assisted writing and exposes your functions as AI tools; Workflow Engine turns your functions into visual steps. Each is optional, but together they're where the fun begins. 😊 |
| 162 |
|
| 163 |
= How do my functions become AI tools? = |
| 164 |
|
| 165 |
With AI Engine active, Code Engine registers your functions through function calling and MCP. Your on-site chatbots can call them, and external AI agents (Claude, Claude Code, ChatGPT, OpenClaw) can too. Each argument you declare becomes a parameter the AI can fill in. |
| 166 |
|
| 167 |
= How do I call a snippet from Make.com, n8n, or a webhook? = |
| 168 |
|
| 169 |
Give the snippet a custom endpoint name and a token, then send a request to `/wp-json/code-engine/v1/snippets-endpoint/your-endpoint` with your arguments as JSON. By default, global snippets only run on whitelisted REST routes for safety — you can adjust this in Settings or with the `mwcode_rest_whitelist` and `mwcode_rest_authorized` filters. |
| 170 |
|
| 171 |
= Is it safe to run code like this? = |
| 172 |
|
| 173 |
Code Engine includes Safe Mode, which catches fatal errors and automatically disables the snippet that caused them, so a mistake won't bring your site down. PHP is also validated with a real parser before it's saved. As always, only run code you understand and trust. |
| 174 |
|
| 175 |
= Can I schedule a snippet to run automatically? = |
| 176 |
|
| 177 |
Yes. Use the **Scheduled** scope and pick an hour and minute; Code Engine runs it daily via WP-Cron — great for reports, cleanups, and syncs. |
| 178 |
|
| 179 |
= Can I move my snippets between sites? = |
| 180 |
|
| 181 |
Yes — Code Engine supports importing and exporting your snippets and settings, so you can back them up or move them to another site. |
| 182 |
|
| 183 |
== Changelog == |
| 184 |
|
| 185 |
= 0.4.9 (2026/06/14) = |
| 186 |
* Add: Callable tab panel showing where a function can be used (AI Engine, Workflow Engine, REST) with copy buttons. |
| 187 |
* Fix: No longer sends a blank argument name for callable functions with no parameters. |
| 188 |
* Update: Rewrote the readme with a new description and added screenshots. |
| 189 |
|
| 190 |
= 0.4.8 (2026/06/13) = |
| 191 |
* Fix: Meow Apps menu icon now stays colored and visible when the sidebar is collapsed. |
| 192 |
* Update: Common REST and license endpoints now honour the `{prefix}_allow_setup` filter, allowing other roles to be granted access. |
| 193 |
* Fix: Function snippets now correctly call other function snippets and global helpers when run on demand. |
| 194 |
* Add: Scope filter to the Snippets toolbar, with grouped Content (PHP/JS) options and Disabled at the end. |
| 195 |
* 🎵 Discuss with others about Code Engine on [the Discord](https://discord.gg/bHDGh38). |
| 196 |
* 🌴 Keep us motivated with [a little review here](https://wordpress.org/support/plugin/code-engine/reviews/). Thank you! |
| 197 |
* 🥰 If you want to help us, check our [Patreon](https://www.patreon.com/meowapps). Thank you! |
| 198 |
|
| 199 |
= 0.4.7 (2026/05/07) = |
| 200 |
* Update: Reworked the Editor UI modal with improved spacing. |
| 201 |
* Add: Help Toggle in the Editor UI modal. |
| 202 |
|
| 203 |
= 0.4.6 (2026/04/25) = |
| 204 |
* Fix: Removed unwanted log output. |
| 205 |
* Add: Ability to delete duplicate snippets. |
| 206 |
* Update: Snippet import now includes 'content' in scope conversion. |
| 207 |
* Update: Better UI/UX. |
| 208 |
|
| 209 |
= 0.4.5 (2026/04/15) = |
| 210 |
* Fix: Resolved potential error when using older versions of AI Engine by adding a compatibility check. |
| 211 |
* Update: Switch to AI Engine's new hasAI() helper for more reliable detection of AI availability. |
| 212 |
* Fix: Improve the AI suggestion UI/UX. |
| 213 |
|
| 214 |
= 0.4.3 (2026/03/09) = |
| 215 |
* Add: Tooltips to help the users better. |
| 216 |
* Update: Simplified and refreshed the UIs. |
| 217 |
* 🎵 Discuss with others about Code Engine on [the Discord](https://discord.gg/bHDGh38). |
| 218 |
* 🌴 Keep us motivated with [a little review here](https://wordpress.org/support/plugin/code-engine/reviews/). Thank you! |
| 219 |
* 🥰 If you want to help us, check our [Patreon](https://www.patreon.com/meowapps). Thank you! |
| 220 |
|
| 221 |
= 0.4.2 (2025/12/16) = |
| 222 |
* Add: Added shortcode attributes. |
| 223 |
* Fix: Improved DB checks with an early return to reduce unnecessary queries. |
| 224 |
|
| 225 |
= 0.4.1 (2025/12/03) = |
| 226 |
* Fix: Ensure blocks keep the correct context when focused by improving how block properties are handled. |
| 227 |
* Fix: Restore proper behavior of the Code Blocks option and its settings tab. |
| 228 |
* Add: Allow usage of PHP tags to create HTML line breaks in content. |
| 229 |
* 🎵 Discuss with others about Code Engine on [the Discord](https://discord.gg/bHDGh38). |
| 230 |
* 🌴 Keep us motivated with [a little review here](https://wordpress.org/support/plugin/code-engine/reviews/). Thank you! |
| 231 |
* 🥰 If you want to help us, check our [Patreon](https://www.patreon.com/meowapps). Thank you! |
| 232 |
|
| 233 |
= 0.4.0 (2025/11/12) = |
| 234 |
- Add: Enhanced the overall UI/UX for better user experience. |
| 235 |
- Add: Keyboard shortcuts (Cmd+S, Cmd+Enter). |
| 236 |
- Add: Included a "Clean Uninstall" option for easier plugin removal. |
| 237 |
- Update: Reorganized plugin interface into tab-only layout. |
| 238 |
- Fix: Hotfix to prevent other actions during code validation. |
| 239 |
- Fix: Export of snippets. |
| 240 |
|
| 241 |
= 0.3.9 (2025/10/10) = |
| 242 |
- Add: Implemented CMD+S as a shortcut to save snippets. |
| 243 |
- Fix: Resolved an undefined array key warning related to 'target'. |
| 244 |
- Update: Ignore __mwai_ arguments in the editor for cleaner operation. |
| 245 |
- Update: Enhanced the UI/UX. |
| 246 |
|
| 247 |
= 0.3.8 (2025/09/30) = |
| 248 |
- Update: Improved the entire UI for a better user experience. |
| 249 |
- Fix: Ensure mwai_query parameter is correctly passed and accessible within function calls. |
| 250 |
|
| 251 |
= 0.3.7 (2025/09/01) = |
| 252 |
* Update: Code Engine Pro. |
| 253 |
|
| 254 |
= 0.3.6 (2025/08/16) = |
| 255 |
* Update: There is now a Pro version for Code Blocks and Shortcodes. |
| 256 |
* Update: Minor improvements and bug fixes. |
| 257 |
|
| 258 |
= 0.3.5 (2025/07/23) = |
| 259 |
* Fix: Resolved React rendering issue caused by empty tags and undefined map calls. |
| 260 |
* Update: Refreshed common functionalities for improved stability. |
| 261 |
|
| 262 |
= 0.3.4 (2025/07/06) = |
| 263 |
* Update: Disallow PHP execution in code blocks by default, with an option to enable it. |
| 264 |
* Update: Refactored the getSnippets method for improved stability. |
| 265 |
* Update: Changed snippet name filtering to use 'functionName' instead of 'name'. |
| 266 |
* Fix: Allowed global snippets to execute on the Settings page to prevent blocking nonce filters. |
| 267 |
|
| 268 |
= 0.3.3 (2025/06/29) = |
| 269 |
* Add: Support for "content" scope in dashboard and tags. |
| 270 |
* Fix: Editor modal not displaying correctly. |
| 271 |
* Fix: Columns and empty message now display as expected. |
| 272 |
* Update: Renamed MCP tool prefix from code_engine_ to mwcode_ for better consistency. |
| 273 |
* Update: Check DISALLOW_UNFILTERED_HTML for JavaScript content type snippets to enhance security. |
| 274 |
* Update: Replaced error_log with core logging in API for improved reliability. |
| 275 |
* Fix: Dashboard disables Quick Start if AI Engine is missing. |
| 276 |
* Fix: Added missing dependencies to mwcode_snippet_vault script registration. |
| 277 |
|
| 278 |
= 0.3.2 (2025/06/03) = |
| 279 |
* Add: API now matches the functionality of AI Engine and includes optional MCP support. |
| 280 |
* Add: Security bypass option and reorganized plugin settings for easier management. |
| 281 |
* Update: Shortened filter names to mwcode_rest_whitelist and mwcode_rest_authorized for clarity. |
| 282 |
* Fix: Hotfix—adjusted to use 'size' parameter instead of 'fullSize', resolving compatibility issues. |
| 283 |
* Fix: Resolved error_log spam, clarified REST route blocking messages, corrected typos, and improved code readability. |
| 284 |
|
| 285 |
= 0.3.1 (2025/05/22) = |
| 286 |
* Fix: Prevent errors when processing snippets by removing an unnecessary argument from the sanitize function. |
| 287 |
* Update: Improve the code editor's appearance by adjusting how content overflows, ensuring the border radius displays correctly. |
| 288 |
|
| 289 |
= 0.3.0 (2025/05/01) = |
| 290 |
* Add: Introduced API functions to create, update, and delete snippets via PHP Callables. |
| 291 |
* Fix: Ensured PHP Callables avoid typed arguments to prevent InvalidArgumentException. |
| 292 |
* Update: Refactored ContentBlock to use the CodeEditor component and removed unnecessary ID handling. |
| 293 |
* Fix: Sanitized arrays and converted strings to arrays for safer callable argument handling. |
| 294 |
* Fix: Corrected a return statement that was blocking the PHP Callable test tab. |
| 295 |
* Add: Added a proof of concept for a Gutenberg block. |
| 296 |
|
| 297 |
= 0.2.9 (2025/02/17) = |
| 298 |
* Fix: Corrected split function to handle null arguments properly. |
| 299 |
* Add: Enabled the "Test" tab for all snippet types for better testing. |
| 300 |
* Update: Refactored Quick Start snippet generation and introduced AI-powered snippet creation. |
| 301 |
* Update: Removed Shortcode.js and cleaned up debug logs to improve code clarity. |
| 302 |
* Update: Improved snippet execution by adding load.php and enhancing error handling. |
| 303 |
* 💕 Discuss with others about it on [Discord](https://discord.gg/bHDGh38). |
| 304 |
* 🌴 Keep us motivated with [a little review here](https://wordpress.org/support/plugin/code-engine/reviews/). Thank you! |
| 305 |
|
| 306 |
= 0.2.8 (2025/01/04) = |
| 307 |
* Update: Refactored core class for better performance. |
| 308 |
|
| 309 |
= 0.2.7 (2024/12/06) = |
| 310 |
* Fix: Insertion of the code generated by AI. |
| 311 |
* Update: Visual enhancements. |
| 312 |
* Update: Clean uninstall. |
| 313 |
|
| 314 |
= 0.2.6 (2024/11/04) = |
| 315 |
* Update: Better editor, cleaner and more efficient. |
| 316 |
* Add: Little tutorial, to help you get started. |
| 317 |
* Fix: Avoid useless re-renders. |
| 318 |
|
| 319 |
= 0.2.5 (2024/10/17) = |
| 320 |
* Update: Better code editor. Decoration for tags. |
| 321 |
* Update: Added "Function Calling" next to Callable. |
| 322 |
* Fix: Whitelist for REST to avoid issues. |
| 323 |
* Fix: Many fixed and enhancements for AI Suggestions. |
| 324 |
* Fix: Minor issues. |
| 325 |
|
| 326 |
= 0.2.4 = |
| 327 |
* Fix: Jumpy cursor and functions not available via API (0.2.3 specific issues). |
| 328 |
* Add: Check the function name, and Sanitize. |
| 329 |
* Fix: Lot of minor issues. |
| 330 |
|
| 331 |
= 0.2.2 = |
| 332 |
* Update: Better error handling. |
| 333 |
* Update: Better logger. |
| 334 |
|
| 335 |
= 0.2.1 = |
| 336 |
* Update: Better AI suggestions and improved UI. |
| 337 |
* Fix: Avoid the Code Editor to be suddently updated by external factors. |
| 338 |
|
| 339 |
= 0.2.0 = |
| 340 |
* Fix: Settings display. |
| 341 |
* Update: JS functions are now also available in the admin. |
| 342 |
|
| 343 |
= 0.1.9 = |
| 344 |
* Update: A bunch of improvements to make Code Engine even more awesome! Basically, the UI became slighlty better to use, and the features are more stable. |
| 345 |
|
| 346 |
= 0.1.8 (2024/07/16) = |
| 347 |
* Update: UI overhaul, with a new design, icons, and more. |
| 348 |
* Add: Types for arguments. |
| 349 |
* Fix: Got rid of some warnings and errors. |
| 350 |
|
| 351 |
= 0.1.6 (2024/07/07) = |
| 352 |
* Add: Scheduling via WP events. |
| 353 |
* Fix: Exclude disabled functions from functions list in the API. |
| 354 |
* Update: Disabled Safe Mode for frontend snippets. |
| 355 |
* Update: Various fixes and optimizations. |
| 356 |
|
| 357 |
= 0.1.5 (2024/06/23) = |
| 358 |
* Update: Lots of little UI improvements. |
| 359 |
* Fix: Escape value in sanitize function and correct import snippet primary key and tag validation. |
| 360 |
* Fix: Ensure arrays are displayed in test logs and sanitize functions when saving. |
| 361 |
|
| 362 |
= 0.1.4 (2024/06/15) = |
| 363 |
* Fix: If functions already exist, to avoid conflicts, the snippet will be disabled. |
| 364 |
* Update: Scopes are now Backend, Frontend, Function, Persistent, and Scheduled. |
| 365 |
* Update: Improved the styles. |
| 366 |
|
| 367 |
= 0.1.3 = |
| 368 |
* Fix: Resolved issue with Common Dashboard visibility when only Code Engine is used. |
| 369 |
* Update: Enhanced UI with multiple component refactors and minor changes. |
| 370 |
* Fix: Improved API functionality with secure query args decoding and request body support. |
| 371 |
|
| 372 |
= 0.1.2 = |
| 373 |
* Update: Disable Safe Mode for Admin (which is enabled by default). |
| 374 |
* Update: Improved flow with AI Engine. |
| 375 |
|
| 376 |
= 0.1.1 = |
| 377 |
* Add: Import/Export Snippets & Settings. |
| 378 |
|
| 379 |
= 0.1.0 = |
| 380 |
* Update: Implemented version control for database updates with optimized queries. |
| 381 |
* Update: Simplified database column declarations and improved compatibility by removing default values from 'created' and 'updated' fields. |
| 382 |
|
| 383 |
= 0.0.9 = |
| 384 |
* Update: Many enhancements around error handling and UI. |
| 385 |
|
| 386 |
= 0.0.8 = |
| 387 |
* Fix: Secondary way of checking the database if needed. |
| 388 |
* Fix: Automatically disable snippets if they trigger a fatal error. |
| 389 |
|
| 390 |
= 0.0.7 = |
| 391 |
* Fix: Corrected UI behaviors including Test window size and wrapping, default tab selection in Edit modal, and default snippet name setting for Functions. |
| 392 |
* Update: Enhanced error handling in "Test" mode to display errors instead of throwing them. |
| 393 |
* Update: Eliminated "All" option from the Type Select dropdown. |
| 394 |
|
| 395 |
= 0.0.6 = |
| 396 |
* Add: Settings for developers. |
| 397 |
* Fix: Minor issues. |
| 398 |
|
| 399 |
= 0.0.5 = |
| 400 |
* Update: Arguments with no default value are automatically marked as required. |
| 401 |
|
| 402 |
= 0.0.2 = |
| 403 |
* Info: Revamped release. |
| 404 |
|
| 405 |
= 0.0.1 = |
| 406 |
* Info: Old release. |
| 407 |
|