I spent a lot of time recently figuring out the Wordpress Settings API. Although there are still parts of it that remain shrouded in mystery, I think I’ve got a decent handle on it now.

I decided to create a demo plugin that I could use as a reference for future plugin development. This plugin creates a settings page that allows you to organize your settings fields into sections and tabs. It’s a bit long to post here, but you can check it out on github.

When I have time, maybe I’ll write a post with more explanation of how it works and what I learned along the way.