Handy Template Class for creating tabbed navigation option pages with the WordPress Settings API.
WordPress Settings API is a... little dark hole, you can easily spend hours to setup a bunch of fields. This PHP Class let you create an option page by mostly tweaking a simple Array. It does support tabbed navigation.
This is largely based on this gist by @hlashbrooke. There are a few differences:
- All options are saved in a single array
- There's a getter method for the options
- Accepts Plugin Name and Plugin Slug as parameters
- No external assets required as there are no Image Upload and Color Picker fields (Sorry, but I don't need them most of the time)