WordPress Plugin Framework version 2.0.0 released.

The framework has almost been completely rewritten with this release to make the creation of WordPress objects more strongly typed and automatic.

WordPress objects now have supporting classes for arguments. This cuts down on having to type in optional parameters on construction.

The Settings class now has supporting classes for SettingsSection and SettingsField.

The View class is no longer a static and each WordPress object will have its own View saved as a property.

The View’s render() method now echos the output instead of returns it.

Check out the documentation and view the repo on Github.

Leave a Reply