Skip to content
Framework to build plugins for WordPress in an OO way
PHP JavaScript
Failed to load latest commit information.
assets visual styles update Nov 14, 2011
languages
library/wp-framework remove deprecated wp_specialchars and add current tab param to getNav… Nov 14, 2011
views remove deprecated wp_specialchars and add current tab param to getNav… Nov 14, 2011
.gitignore only extract in load_view if array contains values Oct 17, 2011
.htaccess only extract in load_view if array contains values Oct 17, 2011
COPYRIGHT only extract in load_view if array contains values Oct 17, 2011
README update changelog Oct 17, 2011
README.forms visual styles update Nov 14, 2011
custom-post-type.php visual styles update Nov 14, 2011
dashboard.php only extract in load_view if array contains values Oct 17, 2011
plugin.php visual styles update Nov 14, 2011
readme.txt only extract in load_view if array contains values Oct 17, 2011
screenshot-1.jpg only extract in load_view if array contains values Oct 17, 2011
screenshot-2.jpg only extract in load_view if array contains values Oct 17, 2011
widget.php only extract in load_view if array contains values Oct 17, 2011

README

This is a little framework that I've written so that I finally can write OO-plugins for WordPress.
You can create actions and filter methods that will automaticly get called.
This class is still in a *beta* stage so let me know if you have any tips, suggestions or find any bugs.

I've included 4 examples so you can take a look how you can write plugins with this framework. 
The following examples are included:
- Dashboard widget
- Widget
- Custom post type
- Plugin

== Tips ==
- When creating a widget from the template don't forget to you need to change the class name and the class constructor name!



== Changelog ==

= 0.6 =
Remove deprecated function use
Add extra filter and action
Skip extract in load_view if array has no values
NotEmpty validator now also accepts 0 as value

= 0.5 =
Add filter post_type_link
Add filter post_update_messages
Merge $_FILES and $_POST so can now also apply validators to upload fields
Remove static from load_view method so you can use $this in your views
Add image size validator
Add file size validator
Fixed bug when you add another validator before notempty
Change lowercase directories to camelcase
Added method load to load framework classes
Added cache methods that uses WordPress transient

= 0.1 =
Initial version release
Something went wrong with that request. Please try again.