We’ve just released Widget Base Class to facilitate WordPress widget creation!

Widget Base Class is a PHP class which facilitates widget creation, by faster creation, sanitization, validation and updates of Widget fields. Such an approach lets one set up widgets much faster, without code repetitions and care for messy data validation.

Thanks to that we can get rid of the update method completely and stop worrying about the form validation itself.

The widget does all of the data validation on its own. However we have to define the fields we want to use, so that our base class would have an idea on what kind of fields we’d like to use.

The class itself can be found on github.

[biginfobox textcolor=”#ffffff” title=”Have you checked our other free software yet?” href=”https://wp-doin.com/portfolio/#plugin” button_title=”Free Plugins” target=”_blank”]There’s a Base Theme and a Widget Wrapper Class to use! [/biginfobox]