WordPress Plugin Skeleton Updated – Added Settings Functionality

Today, I updated my WordPress plugin skeleton to implement basic settings functionality. This update includes some code that adds a settings page, registers the settings on that page, outputs some common controls, and sanitizes the options after saving. I think this code could be useful to anyone looking to build a WordPress plugin with a settings page. As a quick preview, here’s the settings panel that the plugin skeleton now provides:

settings-page

You can find the WordPress plugin skeleton repository on GitHub or download it and take a look locally. If you don’t want the settings page functionality, you can just grab the bare bones version.

Leave a Reply

Your email address will not be published. Required fields are marked *