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.


April 21, 2024
Great feature that allows running with defined functions in a modularized way. Even chaining tool executions runs fine.
Read all 2 reviews

Contributors & Developers

“Snippet Vault” is open source software. The following people have contributed to this plugin.


“Snippet Vault” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Snippet Vault” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


0.1.6 (2024/07/07)

  • Add: Scheduling via WP events.
  • Fix: Exclude disabled functions from functions list in the API.
  • Update: Disabled Safe Mode for frontend snippets.
  • Update: Various fixes and optimizations.

0.1.5 (2024/06/23)

  • Update: Lots of little UI improvements.
  • Fix: Escape value in sanitize function and correct import snippet primary key and tag validation.
  • Fix: Ensure arrays are displayed in test logs and sanitize functions when saving.

0.1.4 (2024/06/15)

  • Fix: If functions already exist, to avoid conflicts, the snippet will be disabled.
  • Update: Scopes are now Backend, Frontend, Function, Persistent, and Scheduled.
  • Update: Improved the styles.


  • 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.