WP-Autoplugin is a free WordPress plugin that uses AI to assist in generating, fixing, and extending plugins on-demand. It enables users to quickly create functional plugins from simple descriptions, addressing specific needs without unnecessary bloat.
- Generate plugins using AI
- Fix and extend existing plugins
- Full control over the generation process
- Support for multiple AI models, and any OpenAI-compatible custom API
- View the list of generated plugins for easy management
WP-Autoplugin offers practical solutions for various WordPress development scenarios:
- Lightweight Alternatives: Create simple, focused plugins to replace large, feature-heavy plugins that may slow down your site or include unnecessary features and advertisements.
- Custom Solutions: Develop site-specific plugins tailored to your unique requirements, eliminating the need for complex workarounds or multiple plugins.
- Developer Foundations: Generate solid base plugins that developers can extend and build upon, streamlining the process of creating complex, custom plugins.
- Completely Free: No premium version, no ads, no account required.
- Open Source: Contributions are welcome.
- Privacy-Focused: No data collection or external communication (except for the AI API you choose).
- BYOK (Bring Your Own Key): Use your own API key from the AI provider of your choice.
- Flexible AI Models: Choose from a variety of AI models to suit your needs, or set up custom models.
- Use in Your Language: The plugin is fully translatable and has built-in support for 10+ languages.
- Describe Your Plugin: Provide a description of the plugin you want to create.
- AI Generation: WP-Autoplugin uses AI to generate a development plan and write the code.
- Review and Install: Review the generated plan and code, make any necessary changes, and install the plugin with a single click.
You can also use WP-Autoplugin tofix bugs,add new features, orexplain plugins you've created with the tool. TheExplain Plugin feature allows you to ask questions or obtain general overviews of generated plugins, helping you better understand their functionality and structure.
WP-Autoplugin allows you to easily extendany plugin directly from the WordPress Plugins page:
- Click on the "Extend Plugin" action link for the plugin you'd like to enhance.
- WP-Autoplugin will analyze the selected plugin, extracting available action and filter hooks along with relevant contextual details.
- Provide a description of the desired extension; WP-Autoplugin assesses the technical feasibility using available hooks.
- A new extension plugin will be generated based on your description, allowing seamless integration with the existing plugin functionality.
Demo video:Extend a third-party plugin with WP-Autoplugin
When you activate an AI-generated plugin, WP-Autoplugin will automatically detect fatal errors and deactivate the plugin to prevent site crashes. A message with the error details will be displayed, along with a link to fix the issue automatically with AI.
WP-Autoplugin supports 30+ AI models, including:
- Claude 3.7 Sonnet
- Claude 3.5 Sonnet
- Claude 3.5 Haiku
- o3-mini
- GPT-4.5
- GPT-4o
- GPT-4o mini
- Google Gemini 2.0 Pro
- Google Gemini 2.0 Flash
- xAI Grok 2
While WP-Autoplugin is free to use, you may need to pay for API usage based on your chosen model.
WP-Autoplugin supports custom models: you can plug in any OpenAI-compatible API by providing the endpoint URL, model name, and API key. This feature allows you to use any model you have access to, including locally hosted models, or custom models you've trained yourself.
To use WP-Autoplugin, you'll need an API key from an AI provider. Insert your key in the plugin settings to get started. Your API key remains on your server and is not shared with anyone.
Some AI platforms currently offer free plans and include SOTA models, likeGemini 2.0 Pro throughGoogle AI Studio. Refer to the respective websites for pricing information.
Plugins created by WP-Autoplugin are standard WordPress plugins:
- They function independently and will continue to work even if WP-Autoplugin is deactivated or deleted.
- You can install them on other WordPress sites without WP-Autoplugin.
- While WP-Autoplugin provides a convenient listing screen for generated plugins, they can also be managed from the standard WordPress Plugins screen.
WP-Autoplugin aims to generate code that adheres to WordPress coding standards. However, it's important to treat AI-generated code with the same caution you would apply to any third-party code. We strongly recommend:
- Reviewing and testing all generated code before use in a production environment.
- Conducting thorough testing on a staging site before deployment.
- Considering a professional security audit for critical applications.
WP-Autoplugin has some limitations to be aware of:
- Works best with simple plugins; may struggle with complex, multi-feature plugins.
- Generates single-file plugins only.
- Plugins require thorough testing before use on production sites.
- Download the latest release from theReleases page.
- Upload the plugin zip file through the 'Plugins' screen in WordPress, or unzip the file and upload the
wp-autoplugin
folder to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' screen in WordPress.
- Go to the WP-Autoplugin settings page and enter your API key(s).
- Choose your preferred AI model in the settings.
- Start generating plugins!
Click to view screenshots
Or watch theWP-Autoplugin demo video on Youtube that shows how it generates a plugin and fixes a bug.
WP-Autoplugin is fully translatable. If you would like to contribute a translation, please create a pull request with the translation files. Currently, the plugin includes translations for the following languages:
- English -
en_US
- Français (French) -
fr_FR
- Español (Spanish) -
es_ES
- Deutsch (German) -
de_DE
- Português (Portuguese) -
pt_PT
- Italiano (Italian) -
it_IT
- Magyar (Hungarian) -
hu_HU
- Nederlands (Dutch) -
nl_NL
- Polski (Polish) -
pl_PL
- Türkçe (Turkish) -
tr_TR
- Русский (Russian) -
ru_RU
WP-Autoplugin is licensed under the GPLv3 or later.
- Added support for Google Gemini 2.5 Pro model
- Fixed minor UI issue in the Fix Plugin form
- Improved code generation step for the Fix Plugin feature to avoid fatal errors
- Added a "Copy Hooks" button to use the extracted hooks with any LLM
- Added CMD/CTRL + Enter shortcut to submit the forms
- Fixed minor UI issues
- Added option to change model at every step
- Fixed minor issues with the Extend Plugin feature
- Analyze and extend any third-party plugin
- Added new Explain Plugin feature
- Refactored admin-side PHP & JS codes
- Added new Google models
- Added support for reasoning models (o1, o3-mini, Claude 3.7 Sonnet Thinking)
- Fixed PHPCS issues throughout the codebase
- Added support for any OpenAI-compatible API with the custom models option
- Added translations for 10 more languages
- Fixed PHP notice on "Add New Plugin" screen.
- Added support for Google Gemini Flash 2.0 Thinking model
- Added support for xAI Grok-2-1212 model
- Added support for Claude 3.5 Sonnet-20241022, Gemini 2.0 Flash Experimental, and Gemini Experimental 1206 models
- Some refactoring and code cleanup
- Added support for Claude 3.5 Haiku
- Added support for xAI and its only current model, Grok-beta
- Fixed an issue that prevented the code from being edited in the code editor
- Fixed wrong model name for "chatgpt-4o-latest"
- Improved the generator prompt for better code generation on lower-end models
- Improved inline documentation
- Fixed Github updater class
- Fixed a few bugs
- Added i18n support and Hungarian translation
- Adjusted prompt for better code generation
- Added docblocks to the code
- Added update from GitHub feature
- Reorganized files and folders and added Composer support
- Fixed small bugs
- Added support for Google Gemini models
- Added support for gpt-4o-2024-08-06
- Cleaned up prompts for better readability
- Added support for GPT-4o mini
- Added support for the high-limit (8192 tokens) version of Claude 3.5 Sonnet
- Fixed max_tokens value for OpenAI models
- Initial release
Popular repositoriesLoading
- wp-autoplugin
wp-autoplugin PublicQuickly create functional plugins from simple descriptions, addressing specific needs without unnecessary bloat.
- hub2wp-repo-public
hub2wp-repo-public Publichub2wp is a free and open, Github-based WordPress plugin repo.
JavaScript 6
If the problem persists, check theGitHub status page orcontact support.