WordPress Development: Bypassing the Settings API
23The following is a guest post by Andy Walpole.
There are many parts of the Wordpress API which are fantastic but there are also other parts which, I would argue, are lacking.
The Settings API was introduced in version 2.7 to allow the semi-automation of form creation. All credible Content Management Systems and frameworks have their own set of functions or classes for the same purpose. Drupal has a multitude of hooks which can be leveraged, while CodeIgniter uses a combination of the Form Validation Class and the Form Helper .
When creating a Wordpress plugin recently I wanted to create a dynamic form to insert data into a field in the option database table. I decided to create a class for this purpose with the intention of creating reusable code for future projects.