Snippet Vault


Snippet Vault is a versatile plugin that not only manages PHP code snippets but also acts as a powerful bridge connecting WordPress, AI, and external digital platforms. It has three main features:

  • PHP Code Snippets Management
  • Automation via External Access
  • Integration with AI

Think out of the box, and let your creativity flow, because the possibilities are endless! 🤟

PHP Code Snippets Management

With its intuitive interface, Snippet Vault unlocks a world of possibilities by allowing you to dynamically modify and extend your site’s functionality without the need for extensive coding knowledge. Code snippets can be created and enhanced by AI, making the process even more efficient and user-friendly.

Automation via External Access

Snippet Vault offers seamless integration with the REST API, allowing you to execute runnable code snippets through external processes. This opens up a realm of automation opportunities, enabling you to streamline your tasks and save valuable time. By leveraging tools like, you can create sophisticated workflows that interact with your site via the REST API.

Integration with AI

Take your site to the next level with Snippet Vault’s cutting-edge AI Engine integration. This powerful feature allows you to collaborate seamlessly with AI models, enabling them to run actions and enrich their responses by accessing your code snippets. By incorporating actionable snippets, you can provide your AI models with the ability to perform tasks and deliver more comprehensive and dynamic answers to user queries.



  1. Upload snippet-vault to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Nothing yet.


Great feature that allows running with defined functions in a modularized way. Even chaining tool executions runs fine.


“Snippet Vault” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。


Snippet Vault 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Snippet Vault 外掛本地化為台灣繁體中文版。


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Fix: Resolved issue with Common Dashboard visibility when only Snippet Vault is used.
  • Update: Enhanced UI with multiple component refactors and minor changes.
  • Fix: Improved API functionality with secure query args decoding and request body support.


  • Update: Disable Safe Mode for Admin (which is enabled by default).
  • Update: Improved flow with AI Engine.


  • Add: Import/Export Snippets & Settings.


  • Update: Implemented version control for database updates with optimized queries.
  • Update: Simplified database column declarations and improved compatibility by removing default values from ‘created’ and ‘updated’ fields.


  • Update: Many enhancements around error handling and UI.


  • Fix: Secondary way of checking the database if needed.
  • Fix: Automatically disable snippets if they trigger a fatal error.


  • Fix: Corrected UI behaviors including Test window size and wrapping, default tab selection in Edit modal, and default snippet name setting for Functions.
  • Update: Enhanced error handling in “Test” mode to display errors instead of throwing them.
  • Update: Eliminated “All” option from the Type Select dropdown.


  • Add: Settings for developers.
  • Fix: Minor issues.


  • Update: Arguments with no default value are automatically marked as required.


  • Info: Revamped release.


  • Info: Old release.