A collection of practical generators for WordPress developers to speed up common tasks such as SQL migrations, database operations, REST routes, plugin scaffolding, and custom fields.
Tools for Developers is a productivity-focused WordPress plugin that provides interactive generators to help developers write boilerplate code and SQL faster, safer, and more consistently.
The plugin is designed with:
- ⚡ Productivity & consistency
- 🧠 Developer‑friendly UI
- 🧾 Clean, readable generated output
- 📋 One‑click copy to clipboard
⚠️ This plugin never executes SQL or code automatically. It only generates output.
Generate SQL queries to update site URLs when migrating a WordPress site to a new domain.
Shortcode
[tools-for-devs-migration-sql]
Generate SQL to rename WordPress database tables and update related keys.
Supports:
- Single site
- Multisite
- Optional WooCommerce tables
Shortcode
[tools-for-devs-db-prefix]
Generate a complete WordPress plugin header with common metadata and optional requirements.
Shortcode
[tools-for-devs-plugin-header-generator]
Generate SQL queries to delete WooCommerce products.
⚠️ Always back up your database before executing generated SQL.
Shortcode
[tools-for-devs-delete-products-sql]
Generate scaffolding for custom field types compatible with:
- Advanced Custom Fields (ACF)
- Secure Custom Fields (SCF)
Intended for developers building custom field types.
Shortcode
[tools-for-devs-acf-field-generator]
Generate register_rest_route() boilerplate with support for:
- Permission callbacks
- Dynamic arguments
- Path parameters (
(?P<id>\d+)) - Optional controller class mode
- Optional CRUD generation
curlexamples
Shortcode
[tools-for-devs-rest-route-generator]
Generate $wpdb + dbDelta() boilerplate for custom database tables, including:
- Table creation
- Version upgrades
- Basic CRUD helpers
Shortcode
[tools-for-devs-db-crud-generator]
- ❌ No SQL or PHP is executed automatically
- 🛑 Always back up your database before running generated SQL
⚠️ Incorrect SQL usage can break serialized data
- Upload the plugin folder to
/wp-content/plugins/or install it via the Plugins screen. - Activate the plugin.
- Add any generator shortcode to a page or post.
All UI strings are prepared for translation using standard WordPress i18n functions.
No. All generators only output code or SQL.
The plugin itself is safe, but executing SQL on production environments always carries risk. Test on staging first.
Yes. The field generator supports both ACF and SCF workflows.
Initial public release including:
- Migration SQL Generator
- Database Prefix Generator
- Plugin Header Generator
- WooCommerce Delete Products SQL Generator
- ACF / SCF Field Generator
- REST Route Generator
- Database CRUD Generator
Licensed under GPL v2 or later
https://www.gnu.org/licenses/gpl-2.0.html
Manuel Ramírez
🌐 https://racmanuel.dev