Descripción
WPCodeBox 2 – Code Snippets With Cloud Support centraliza la ejecución de fragmentos personalizados de código PHP, CSS, SCSS y JavaScript con sincronización en la nube y autocompletado inteligente. Esta estructura te permite probar scripts con recarga en tiempo real y aplicar condiciones específicas de carga directamente en el panel, sin necesidad de editar manualmente el archivo functions.php si desarrollas o personalizas múltiples proyectos WordPress de clientes.
Principales características de WPCodeBox 2 – Code Snippets With Cloud Support
- Repositorio privado en la nube
Guarda y sincroniza fragmentos de código entre distintos sitios desde el propio panel. - Editor con autocompletado
Sugiere funciones nativas de WordPress y clases mientras escribes en el editor integrado. - Reglas de carga condicional
Ejecuta scripts solo en páginas, entradas, tipos de contenido o URLs específicas que configures. - Compilación integrada de SCSS
Convierte archivos SCSS en CSS puro de forma automática, sin depender de compiladores externos. - Recarga de CSS sin refrescar
Aplica los cambios de estilo al instante en pantalla, sin recargar toda la página.
Beneficios de WPCodeBox 2 – Code Snippets With Cloud Support
- Reutilización de funciones recurrentes
Elimina la necesidad de reescribir scripts comunes en cada nuevo proyecto que creas. - Protección frente a errores fatales
Detiene la ejecución de scripts defectuosos antes de que el sitio se caiga. - Mantenimiento de código centralizado
Reemplaza plugins pesados por pequeños fragmentos ejecutados con mayor control en el sistema. - Agilidad en el desarrollo diario
Reduce el tiempo de pruebas con actualizaciones de estilo reflejadas en tiempo real.
¿Para quién es WPCodeBox 2 – Code Snippets With Cloud Support?
- Para quien crea y administra decenas de sitios para clientes y necesita compartir códigos estandarizados entre ellos.
- Para ti, que sueles agregar personalizaciones en el archivo functions.php y quieres evitar daños accidentales en el tema.
- Para quien prefiere mantener funciones PHP, reglas de CSS y automatizaciones JS organizadas en un único panel con búsqueda rápida.
Cómo descargar WPCodeBox 2 – Code Snippets With Cloud Support
WPCodeBox 2 – Code Snippets With Cloud Support está disponible para descargar aquí en Ultrapack. Después de descargar el archivo .zip, entra en Plugins > Añadir nuevo > Subir plugin en el panel de WordPress, sube el archivo y actívalo. El gestor de snippets queda accesible de inmediato en el menú administrativo.
Al estructurar la biblioteca de scripts en la nube, el plugin organiza funciones de PHP, estilos en CSS y scripts de frontend con una carga granular. Este enfoque evita el uso de temas hijos para pequeñas personalizaciones y acelera el flujo de trabajo de desarrolladores y agencias que mantienen múltiples proyectos simultáneos en WordPress, con un control preciso sobre dónde debe ejecutarse cada fragmento.
Preguntas frecuentes
¿El plugin WPCodeBox 2 – Code Snippets With Cloud Support es GPL?
Sí. WPCodeBox 2 – Code Snippets With Cloud Support se distribuye bajo la licencia GPL (GNU General Public License). Puedes usarlo, modificarlo y redistribuirlo legalmente en todos los sitios que quieras.
¿Puedo usar el plugin WPCodeBox 2 – Code Snippets With Cloud Support en más de un sitio?
Sí. Puedes instalar WPCodeBox 2 – Code Snippets With Cloud Support en todos los sitios que quieras. Solo las actualizaciones automáticas con Ultrapack Auto Updater tienen límite: de 3 a 80 sitios, según el plan.
¿Cuánto cuesta el plugin WPCodeBox 2 – Code Snippets With Cloud Support en Ultrapack?
WPCodeBox 2 – Code Snippets With Cloud Support cuesta US$ 2,99 en la compra individual, y también está incluido en los planes de suscripción desde US$12/mes (VIP I).
¿El plugin WPCodeBox 2 – Code Snippets With Cloud Support incluye actualizaciones?
Sí. La versión actual de WPCodeBox 2 – Code Snippets With Cloud Support es la 1.4.1, publicada en Ultrapack el 28/09/2026. Los suscriptores actualizan directamente desde el panel de WordPress con UAU (Ultrapack Auto Updater).
¿Es seguro descargar e instalar el plugin WPCodeBox 2 – Code Snippets With Cloud Support en mi WordPress?
Sí. Cada versión de WPCodeBox 2 – Code Snippets With Cloud Support pasa por un análisis de malware (ClamAV y reglas YARA, en UltraHub) antes de publicarse.
¿Cuáles son los requisitos del plugin WPCodeBox 2 – Code Snippets With Cloud Support?
Requiere WordPress 5.6 o superior y PHP 7.4 o superior. Probado hasta WordPress 7.1.
Qué cambió en esta versión
Versión 1.4.1
- Fix: Generated MCP configurations now use a stable server name based on each site's URL, including subsites and different ports. Setup prompts preserve other sites' connections and check for existing names before adding a server.
- Fix: MCP setup prompts now include the selected client's configuration and explain how to set up Claude Desktop when the assistant cannot access local files. Added JSON merge instructions and local credential guidance instead of promising automatic setup.
- Improvement: PHP snippets set to "Manual (On Demand)" now show a small play badge on their icon in the editor sidebar and Snippet Manager.
- Fix: Editing a snippet from the Snippet Manager now opens the requested snippet instead of restoring the previous selection, including when local and cloud lists finish loading in either order.
- Fix: Restored the public PHP API's execution-by-ID behavior for integrations such as WP All Import. `Api::runSnippet` can again execute Function Editor snippets set to "Do not run", so import helper functions are available without changing existing snippets. The editor Run endpoint and MCP run tool continue to require "Manual (On Demand)" snippets.
- Fix: Local folder drag-and-drop order now saves when the drag ends, including drops onto titles or icons. Cloud folder IDs are excluded from local saves, the editor keeps its folder state synchronized, and failed saves show an error and reload the saved order.
- Fix: Fixed the Safe Mode link on the fatal-error screen.
- Fix: External-token execution now respects safe mode. Newly generated Functionality Plugins also use the improved recovery URL handling.
- Fix: Fatal errors in callbacks registered by snippets can now be attributed after the initial snippet execution has finished, so the responsible snippet is disabled on shutdown. Unrelated failures are not attributed to the last snippet that ran, and direct snippet errors retain their editor line numbers.
- Fix: MCP `wpcodebox_list_snippets` now includes every snippet in its flat `snippets` array, including snippets inside folders. The folder index remains available, and snippet `folderId` values are returned as integers.
- Fix: MCP calls now preserve actionable errors for missing snippets, permissions, invalid hooks and conditions, invalid folder names, and snippets that cannot be run on demand. Unexpected internal exception details remain hidden.
Versión 1.4.0
- New Feature: Snippet Manager — a dedicated library view for browsing, searching, filtering, organizing, and bulk-managing snippets. Switch between it and the classic editor from the toolbar; the selected view is remembered across reloads. A read-only Cloud section lists cloud folders and snippets with one-click download to local.
- New Feature: Tags — assign tags to snippets, search and filter by tag or "Untagged", customize tag colors per browser, and edit tags from either the Snippet Manager or EditSnippet sidebar.
- New Feature: Bulk and drag-and-drop workflows — select all/none or multiple snippets with a live selection count, then move, tag, enable, disable, or delete them together. Cards can be moved to folders or manually reordered with optimistic UI updates; `/` focuses search and `Esc` clears selection.
- New Feature: More ways to find snippets — sort by Manual order, Name, or Last modified in both manager and classic sidebar; filter by type, tag, enabled/disabled/errored status, and whether conditions are set. Errored cards show a warning badge and error tooltip. Search is debounced and case-insensitive across snippet fields and tags.
- New Feature: Duplicate snippets in the Snippet Manager — copy code, placement, conditions, and tags into the same folder as a disabled "Copy of …" snippet.
- Improvement: With Manual sort active, All Snippets and Cloud All group cards by folder and show loose snippets under "No folder". Cards now show last-modified timestamps, open in the editor on double-click, and use the styled app dialog for delete confirmation.
- Improvement: Snippet Manager icons, filters, dark-mode borders, and the upward-opening Move picker now match the rest of the editor. Folder moves/reorders update instantly, a duplicate-load guard prevents runaway reloads, and plugin-page CSS loads early to prevent the white-line/unstyled-content flash.
- New Feature: MCP / AI Access — connect compatible AI clients to list, search, and read snippets, folders, tags, and revisions, and explicitly opt in to create, update, enable/disable, run, or delete operations. Read tools are the default when MCP is enabled; write and execute tools remain off until an administrator enables them. The standalone MCP endpoint accepts Application Password authentication only, requires `manage_options`, applies the per-tool allowlist and input validation, rate-limits calls, and audit-logs every request.
- New Feature: MCP snippet placement and conditions — create/update tools accept validated `hooks` and condition-builder groups. Agents can select the named UI insertion points or raw actions, use multiple placements for JS/CSS/HTML, and configure editable Location, URL, content, taxonomy, user, device, time, and weekday rules; Custom PHP conditions remain unavailable to agents.
- New Feature: WordPress Abilities API support — all 14 tools are registered under the `wpcodebox` category on WordPress 6.9+, with `readonly` and `destructive` annotations and core `wp-abilities/v1` discovery/execution routes. Both surfaces share the tool catalog, per-tool allowlist, input validation, `manage_options` capability check, and audit log. Unlike the standalone MCP endpoint, core Abilities REST also permits nonce-protected cookie authentication as well as Application Passwords and does not use WPCodeBox's MCP rate limiter. Disabled tools return a clear administrator-enable message.
- Fix: Abilities registered for WordPress 6.9+ now carry MCP channel metadata, so AI clients connecting through core's ability-based MCP adapters see exactly the tools an administrator enabled instead of every registered ability. The execution-time allowlist check still gates each call.
- Improvement: MCP settings provide ready-to-copy Claude Desktop, Cursor/VS Code, and Claude Code configurations, plus higher-contrast dark-mode styling, a write-tool warning, and bulk enable/disable controls.
- Fix: MCP tool names now use Anthropic-compatible underscores such as `wpcodebox_list_snippets`; saved allowlists using the former slash names are recognized and migrated. Reported by a customer in June 2026.
- Fix: The MCP endpoint responds at `plugins_loaded` so canonical/multilanguage plugins cannot redirect the request before the client receives it.
- Fix: Missing or quarantined MCP tool files are skipped instead of taking WordPress into recovery mode, and each skipped tool is logged once per occurrence until restored. Reported by RC testers on Cloudways.
- Improvement: The MCP run tool and in-app Run button now use one canonical one-shot PHP execution path. It strips only a leading PHP open tag, preserves embedded `
- New Feature: Runtime PHP error detection — hook-time fatal errors are caught, attributed, recorded, and disable the affected snippet without white-screening the site. Exceptions are recorded but leave the snippet enabled, while shutdown handling attributes otherwise uncatchable fatal errors to the executing snippet. This replaces WordPress recovery-mode emails for caught snippet errors with an in-app error state.
- Improvement: Repeated identical snippet exceptions no longer rewrite the snippet row or duplicate the PHP error-log entry on every occurrence; a changed message or editor line is still recorded immediately.
- Fix: Runtime error line numbers now point to the matching editor line for named hooks, external triggers, snippets without an opening tag, and snippets with leading blank lines.
- Fix: External-trigger PHP snippets that end in HTML mode now generate parseable wrappers in both normal and Functionality Plugin execution.
- Fix: Failed saves now show a "The snippet was NOT saved" toast. Incomplete/truncated save requests and null database updates are rejected instead of blanking a snippet, and empty revisions cannot be reverted over working code. Previously stored revisions remain available for recovery.
- Improvement: Saves upload only fields the server needs instead of revision history and previous run output, avoiding multi-megabyte requests for large snippets.
- Fix: Functionality Plugin generation and ordering — tokenizer-based HTML-mode detection no longer mistakes `?>` inside strings for a real close tag, Snippet Order is honored on every sync, and equal order/placement/priority ties fall back to creation order. Reported by Jean-Marc Czudek.
- Perf: Functionality Plugin bulk generation now reorders its include list once after all snippets are written instead of rereading and rewriting it after every snippet.
- Fix: Functionality Plugin Gutenberg CSS now evaluates its URL correctly; Gutenberg JavaScript runs; snippets also run in the Full Site Editor iframe; each editor stylesheet has a unique handle; and generated inline CSS/JS is escaped.
- Improvement: The Functionality Plugin settings dialog now uses the same sectioned layout, status toggle, and dark-mode styling as the MCP settings modal. Body text is legible in dark mode, the download button's icon no longer wraps onto its own line, and the duplicate-snippet-names warning is a proper alert listing the affected snippets instead of faint grey text.
- Fix: A failed Functionality Plugin enable/disable no longer leaves its dialog stuck on "Working…", and a failed download now reports the failure instead of throwing while reading the server's response.
- Fix: External JavaScript and CSS snippets now run at every selected insertion point in runtime and Functionality Plugin output, including special-hook remapping and each hook's selected priority.
- Fix: Generated Global CSS ` ` tags no longer include the obsolete `type="text/css"` attribute; JavaScript output remains unchanged.
- Fix: CSS minification now shortens repeated-pair hex colors correctly (`#ffffff` to `#fff`, not `#ff`) and handles the full hexadecimal range. Reported by a customer after 1.3.1.
- Fix: Folder exports include their snippets and serialize folder IDs as numbers; folder imports create snippets in their destination in one request and refresh once at the end. Reported by Jason Janes @ RoatanYP.com.
- Fix: Sidebar folder drops keep the in-memory list synchronized, and updating a downloaded cloud snippet refreshes and displays its placement hooks correctly.
- Fix: Revision and AI execution timestamps use the WordPress timezone, locale, and DST-aware `wp_date` formatting. Reported by Jayron Castro @ Kstros.com.
- Fix: WordPress and other plugins' admin JavaScript no longer breaks on the WPCodeBox page. The code editor loads as an AMD bundle whose loader installs a global `define`, and WordPress' own scripts registered themselves with it instead of publishing the globals everything else expects — and because WordPress serves several of those scripts concatenated into a single file, the first collision aborted the rest of that file too. That left `wp.element`, `moment`, and `jQuery.hoverIntent` undefined, which broke the admin bar's hover menus and any plugin building on WordPress' React packages, Secure Custom Fields among them. The editor now initializes after WordPress has finished running its own scripts and releases the AMD marker once it is up, while keeping the loader available for the syntax-highlighting files it fetches on demand. Long-standing rather than new in 1.4.0, and only ever affected the WPCodeBox admin page.
- Internal: Added tag and bulk snippet REST endpoints plus optional `folderId` creation, Jest coverage for exports/search and the editor loader guard, and shared sorting/tag-color helpers between the manager and editor.
- Note for hosts/security tooling: if your malware scanner flags WPCodeBox's MCP files, whitelist `wp-content/plugins/wpcodebox2/src/Mcp/`.
Versión 1.3.1
- New Feature: Added optional capability for the AI model to execute code to retrieve the current WordPress context
- New Feature: Added support for up-to-date Gemini models
- New Feature: Added OpenRouter model integrations
- New Feature: Addded custom model option
- New Feature: Added an option to hide both panels using Ctrl + ~
- New Feature: Added a configurable setting for the number of revisions to save
- Fix: SCSS minification issues
- Fix: CSS minification incorrectly altering colors in some cases
- Fix: SCSS/CSS formatting replacing single quotes with double quotes
Versión 1.3.0
- New Feature: WPCodey AI Chat Integration (BYOK)
- New Feature: AI inline code modifications and generation
- New Feature: Nested CSS handling in the editor
- New Feature: Buttons to collapse the side panels
- New Feature: Added a clear search button
- Improvement: Improved plugin UI
- Improvement: Improved variable handling in the editor
- Improvement: Added revert revision button
- Improvement: Changed editor class names to avoid conflicts
- Improvement: Search also works in the snippet description
- Improvement: Open folders only if there are search results, and close them after
- Improvement: Various UI/UX improvements
- Bugfix: Saving on Safari only works the first time, then it throws an error
- Bugfix: CSS minifier incorrectly handles double quotes
- Bugfix: Formatting breaks when SCSS code contains comments
- Bugfix: Export file is empty when exporting a single snippet from a folder
- Bugfix: Removed unused JS libraries
- Bugfix: Deprecation warnings for latest PHP versions
- Housekeeping: Updated JS libraries to the latest versions
- Housekeeping: Started migrating the legacy code to modern React
Versión 1.2.1
- Bugfix: Bug when external CSS is rendered in the Functionality Plugin
- Bugfix: Missing collation from the revisions table causing issues in some cases
- Bugfix: Screen Options button sometimes appearis in the UI
- Bugfix: UI disappears in edge case when the Functionality Plugin is enabled
Notas de versión publicadas por el desarrollador.
Cómo instalar
Actualización automática: este ítem se actualiza con el Ultrapack Auto Updater. Con él instalado, la versión nueva aparece en tu panel como cualquier otra actualización de WordPress (cómo configurarlo).
- Descarga el archivo
wpcodebox2.zip. - En el panel de WordPress, ve a Plugins > Añadir nuevo > Subir plugin.
- Selecciona el archivo
wpcodebox2.zipy haz clic en Instalar ahora. - Haz clic en Activar.
Requisitos: Requiere WordPress 5.6 o superior y PHP 7.4 o superior. Probado hasta WordPress 7.1.
¿Te trabaste en algún paso? Abre un ticket diciendo en cuál te detuviste.

UAU Ready