Feature Request: AI-Friendly Field Creation (Code-Based Input for Faster Setup)
planned
D
Developer One
Hello Advanced Custom Fields Team,
I’d like to suggest an improvement that could make ACF more compatible with modern AI-assisted workflows.
Today, many developers and non-developers are using AI tools to generate HTML layouts and page structures. While this speeds up UI creation, they still need to manually recreate matching ACF fields one by one in the admin panel, which can be time-consuming.
💡 Proposed Feature: “Add Fields via Code” Option
It would be extremely helpful to have an option where users can quickly define multiple fields using a simple code-like syntax. For example:
country_location:text
full_address:text
opening_hours:text
event_date:datepicker
🔧 How It Could Work
Add a button like “Add Fields via Code” or “Bulk Add Fields” in the Fields UI.
Users paste a structured list (like above).
ACF automatically parses it and creates fields with:
Field Label (auto-formatted from name)
Field Name
Field Type
🚀 Benefits
Saves significant time when creating multiple fields
Works seamlessly with AI-generated layouts
Reduces repetitive manual setup
Makes ACF more beginner-friendly for users coming from AI tools
Encourages structured, consistent field naming
✨ Optional Enhancements
Support more field types (text, textarea, image, select, repeater, etc.)
Allow JSON or YAML input formats
Provide preview before creating fields
Enable export/import of this format for reuse
This feature would make ACF even more powerful and aligned with how developers are working today using AI-assisted tools.
Thank you for considering this idea!
Best regards,
[Ravi]
Photo Viewer
View photos in a modal
Iain Poulson
Thanks for the post! We have been planning this for a while, bulk adding is helpful IMO even if you aren't using AI. However, as you are using AI for your workflow, have you considered using MCP to connect your agent to your site and create the fields that way with our new Abilities added in ACF 6.8? https://www.advancedcustomfields.com/blog/acf-6-8-release-ai-ready-discoverable-content/#wordpress-abilities-api-integration
Iain Poulson
marked this post as
planned