How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How to use DataForm to create plugin settings pages

calendar_today January 20, 2026 person Róbert Mészáros domain wordpress

WordPress is in the midst of an admin redesign. During this transitional phase, the admin consists of two parts: the “classic” interface that has been around for over a decade, and the “modern” interface that comes with the Block and Site Editor.

If you’re building a plugin that needs a settings page and you want to align with the WordPress Core user experience, it’s already worth adopting the design elements and patterns that will become the new standard.

One way to do this is to use WordPress React components when building settings pages. The How to use WordPress React components for plugin pages article introduced this approach. However, thanks to the work of many in the last year or so, there is a viable alternative approach worth considering and exploring.

In this article, you’ll learn how to rebuild the same settings page that was built using individual React components, but this time using DataForm. The DataForm component provides a declarative way of creating forms and panels without the need to import individual components.

As a preview, here’s how the settings page currently looks:

open_in_new Read original post