SPF version 4.0.0 released.

The big change in this release is changing the View class’ render() method to be static. This means that instead of instantiating a view file and passing it into a WordPressObject you now pass the path to the view file and any view data in. This is not a backwards compatible change so any WordPressObject implementation will need to be adjusted.

A Helper class was created to house static methods that do not fit in with the scope of the other objects. makeSingular() was moved to Helper from the WordPressObject base class.

Check it out onĀ GitHub.

Leave a Reply